diff options
author | Nikias Bassen | 2024-01-30 11:30:12 +0100 |
---|---|---|
committer | Nikias Bassen | 2024-01-30 11:30:12 +0100 |
commit | 7ddaea319550bd44bb295f935bef038a1ac37c3f (patch) | |
tree | 12c590e42fb3d367b7b9fb00a035cd03b4175602 /include/libimobiledevice-glue/collection.h | |
parent | 2d517ebcebe326e79186e41ee7bbd1cf5ed1f2b9 (diff) | |
download | libimobiledevice-glue-7ddaea319550bd44bb295f935bef038a1ac37c3f.tar.gz libimobiledevice-glue-7ddaea319550bd44bb295f935bef038a1ac37c3f.tar.bz2 |
Move LIMD_GLUE_API definitions to public headers
Diffstat (limited to 'include/libimobiledevice-glue/collection.h')
-rw-r--r-- | include/libimobiledevice-glue/collection.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/libimobiledevice-glue/collection.h b/include/libimobiledevice-glue/collection.h index df1680c..46ef461 100644 --- a/include/libimobiledevice-glue/collection.h +++ b/include/libimobiledevice-glue/collection.h @@ -22,17 +22,19 @@ #ifndef COLLECTION_H #define COLLECTION_H +#include <libimobiledevice-glue/glue.h> + struct collection { void **list; int capacity; }; -void collection_init(struct collection *col); -void collection_add(struct collection *col, void *element); -int collection_remove(struct collection *col, void *element); -int collection_count(struct collection *col); -void collection_free(struct collection *col); -void collection_copy(struct collection *dest, struct collection *src); +LIMD_GLUE_API void collection_init(struct collection *col); +LIMD_GLUE_API void collection_add(struct collection *col, void *element); +LIMD_GLUE_API int collection_remove(struct collection *col, void *element); +LIMD_GLUE_API int collection_count(struct collection *col); +LIMD_GLUE_API void collection_free(struct collection *col); +LIMD_GLUE_API void collection_copy(struct collection *dest, struct collection *src); #define MERGE_(a,b) a ## _ ## b #define LABEL_(a,b) MERGE_(a, b) |