don't export sexp_primitive_opcodes (issue #669)

This commit is contained in:
Alex Shinn 2020-07-14 10:08:21 +09:00
parent b4fb077fef
commit e300659662
2 changed files with 2 additions and 2 deletions

2
eval.c
View file

@ -2202,6 +2202,8 @@ sexp sexp_make_null_env_op (sexp ctx, sexp self, sexp_sint_t n, sexp version) {
return e;
}
struct sexp_opcode_struct* sexp_primitive_opcodes; /* from opcodes.c */
sexp sexp_make_primitive_env_op (sexp ctx, sexp self, sexp_sint_t n, sexp version) {
int i;
sexp_gc_var4(e, op, sym, name);

View file

@ -46,8 +46,6 @@ enum sexp_opcode_classes {
SEXP_OPC_NUM_OP_CLASSES
};
SEXP_API struct sexp_opcode_struct* sexp_primitive_opcodes;
#if SEXP_USE_DEBUG_VM || SEXP_USE_PROFILE_VM || SEXP_USE_STATIC_LIBS
SEXP_API const char** sexp_opcode_names;
#endif