Kouhei Sutou 2019-01-28 19:48:07 +0900 (Mon, 28 Jan 2019) Revision: bc92bbcc6f4a973d5af15e592a0578671f5ba2d9 https://github.com/groonga/groonga/commit/bc92bbcc6f4a973d5af15e592a0578671f5ba2d9 Message: Export symbols internally only for groonga_benchmark They aren't public API. They are internal API. Modified files: lib/grn_alloc.h Modified: lib/grn_alloc.h (+18 -18) =================================================================== --- lib/grn_alloc.h 2019-01-28 17:58:38 +0900 (630ce2bdc) +++ lib/grn_alloc.h 2019-01-28 19:48:07 +0900 (73282f23a) @@ -84,24 +84,24 @@ void *grn_ctx_alloc_lifo(grn_ctx *ctx, void grn_ctx_free_lifo(grn_ctx *ctx, void *ptr, const char* file, int line, const char *func); -void *grn_malloc(grn_ctx *ctx, - size_t size, - const char *file, - int line, - const char *func) GRN_ATTRIBUTE_ALLOC_SIZE(2); -void *grn_calloc(grn_ctx *ctx, - size_t size, - const char *file, - int line, - const char *func) GRN_ATTRIBUTE_ALLOC_SIZE(2); -void *grn_realloc(grn_ctx *ctx, - void *ptr, - size_t size, - const char *file, - int line, - const char *func) GRN_ATTRIBUTE_ALLOC_SIZE(3); -char *grn_strdup(grn_ctx *ctx, const char *s, const char* file, int line, const char *func); -void grn_free(grn_ctx *ctx, void *ptr, const char *file, int line, const char *func); +GRN_API void *grn_malloc(grn_ctx *ctx, + size_t size, + const char *file, + int line, + const char *func) GRN_ATTRIBUTE_ALLOC_SIZE(2); +GRN_API void *grn_calloc(grn_ctx *ctx, + size_t size, + const char *file, + int line, + const char *func) GRN_ATTRIBUTE_ALLOC_SIZE(2); +GRN_API void *grn_realloc(grn_ctx *ctx, + void *ptr, + size_t size, + const char *file, + int line, + const char *func) GRN_ATTRIBUTE_ALLOC_SIZE(3); +GRN_API char *grn_strdup(grn_ctx *ctx, const char *s, const char* file, int line, const char *func); +GRN_API void grn_free(grn_ctx *ctx, void *ptr, const char *file, int line, const char *func); GRN_API void *grn_malloc_default(grn_ctx *ctx, size_t size, -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190128/39f46be1/attachment-0001.html>