-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
embeddingEmbedding Julia using the C APIEmbedding Julia using the C APIhelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request
Description
The julia.h file #defines a bunch of symbols that could easily conflict with other header files if someone is embedding Julia: NWORDS, NORETURN, DLLEXPORT, MAX_ALIGN, STORE_ARRAY_LEN, ARRAY_INLINE_NBYTES, ENABLE_INFERENCE, COPY_STACKS, STDCALL, NBITS ... (tons of stuff via libsupport.h)
It seems like it would be better to
- qualify all preprocessor symbols with
JL_in thejulia.hfile - include
libsupport.honly injulia_internal.h.
Metadata
Metadata
Assignees
Labels
embeddingEmbedding Julia using the C APIEmbedding Julia using the C APIhelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request