Advertisement
imk0tter
Mar 30th, 2023 (edited)
66
0
Never
This is comment for paste List shit
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct List {
  2.   long *list_entry;
  3.   long count;
  4. };
  5.  
  6. struct ListEntry {
  7.   long *list_entry;
  8.   long object_ptr;
  9. };
  10.  
  11. struct List *ListCreate();
  12. long ListCount();
  13. void ListDelete(struct List *list_ptr);
  14.  
  15. struct ListEntry *ListGetEntry(struct List *list_ptr, long index);
  16.  
  17. void ListRemove(struct List *list_ptr, long index);
  18.  
  19. void ListAdd(struct List *list_ptr, long obj_ptr);
  20. long ListGet(struct List *list_ptr, long index);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement