New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove static qualifiers to support wrapping in other languages #165
Comments
No part of the public API should be marked as inline, what are you trying to wrap? |
Maybe you could try this: // create a new file, e.g. yyjson_ext.c
#define yyjson_api_inline yyjson_api
#include yyjson.h |
Search for |
I suggest changing #ifndef yyjson_api_inline
# define yyjson_api_inline static yyjson_inline
#endif to #ifndef yyjson_api_inline
# define yyjson_api_inline yyjson_inline
#endif in |
@nordlow No, the |
I'm currently developing a wrapper for yyjson in D.
However the inline qualifier macro(s) on some API functions prevents them from being callable as an extern(C) functions. Would it possible to remove the static qualifer part in those macros?
The text was updated successfully, but these errors were encountered: