diff options
| author | 2019-06-02 20:09:16 -0400 | |
|---|---|---|
| committer | 2019-06-02 20:09:16 -0400 | |
| commit | c21eaa5474bb84a25c5d06645632aa851b37ef20 (patch) | |
| tree | dcb2867917410aae6616d803b557ecb96e2a0617 | |
| parent | Expose signal, type, and status name arrays. (diff) | |
Fix redefinition.
| -rw-r--r-- | src/include/janet.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/include/janet.h b/src/include/janet.h index c3b5f1f5..229fe273 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -238,9 +238,9 @@ typedef struct { #include <stdio.h> /* Names of all of the types */ -extern const char *const janet_type_names[16]; -extern const char *const janet_signal_names[14]; -extern const char *const janet_status_names[16]; +JANET_API const char *const janet_type_names[16]; +JANET_API const char *const janet_signal_names[14]; +JANET_API const char *const janet_status_names[16]; /* Fiber signals */ typedef enum { @@ -1261,9 +1261,6 @@ JANET_API int janet_verify(JanetFuncDef *def); /* Pretty printing */ #define JANET_PRETTY_COLOR 1 JANET_API JanetBuffer *janet_pretty(JanetBuffer *buffer, int depth, int flags, Janet x); -JANET_API const char *const janet_type_names[16]; -JANET_API const char *const janet_signal_names[14]; -JANET_API const char *const janet_status_names[16]; /* Misc */ JANET_API int janet_equals(Janet x, Janet y); |
