diff options
| author | @syxhe <https://t.me/syxhe> | 2025-06-06 13:42:25 -0500 |
|---|---|---|
| committer | @syxhe <https://t.me/syxhe> | 2025-06-06 13:42:25 -0500 |
| commit | ec0cfdc492065dcce687797d3a931af105a461c8 (patch) | |
| tree | 52aa3af71ef6a4ed600b9b7750827fd7521cf2d8 /src/ll-internal.h | |
| parent | 16528ac295215e788cb226f0cc49f11f82919741 (diff) | |
Get rid of useless ll-internal files
Diffstat (limited to 'src/ll-internal.h')
| -rw-r--r-- | src/ll-internal.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/ll-internal.h b/src/ll-internal.h deleted file mode 100644 index e829669..0000000 --- a/src/ll-internal.h +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | #ifndef __VXGG_REWRITE___LL_INTERNAL_H___21242172227746___ | ||
| 2 | #define __VXGG_REWRITE___LL_INTERNAL_H___21242172227746___ | ||
| 3 | |||
| 4 | #define __VXGG_REWRITE___LL_INTERNAL___ 1 | ||
| 5 | #include "ll.h" | ||
| 6 | #undef __VXGG_REWRITE___LL_INTERNAL___ | ||
| 7 | |||
| 8 | typedef struct dll { | ||
| 9 | void *data; | ||
| 10 | dll_freecb freecb; | ||
| 11 | |||
| 12 | struct dll *next; | ||
| 13 | struct dll *prev; | ||
| 14 | |||
| 15 | } dllnode; | ||
| 16 | typedef struct dlinked { | ||
| 17 | int size; | ||
| 18 | dllnode *start; | ||
| 19 | dllnode *end; | ||
| 20 | |||
| 21 | } dlinkedlist; | ||
| 22 | |||
| 23 | dllnode * dllnode_init(void *data, dll_freecb fcb); | ||
| 24 | |||
| 25 | // Note: This file exists because I want to reuse dlinkedlist's definitions from threadpool to create a concurrent queue without | ||
| 26 | // sacrificing the opaqueness of the definition | ||
| 27 | |||
| 28 | #endif \ No newline at end of file | ||
