Browse Source

Don't mangle module-node function names.

pull/1780/head
Tommy Nguyen 7 years ago
parent
commit
48ea4db3b3
  1. 1
      AUTHORS.rst
  2. 8
      extras/module-node/duk_module_node.h

1
AUTHORS.rst

@ -47,6 +47,7 @@ and agreed to irrevocably license their contributions under the Duktape
* Simon Stone (https://github.com/sstone1) * Simon Stone (https://github.com/sstone1)
* \J. McC. (https://github.com/jmhmccr) * \J. McC. (https://github.com/jmhmccr)
* Jakub Nowakowski (https://github.com/jimvonmoon) * Jakub Nowakowski (https://github.com/jimvonmoon)
* Tommy Nguyen (https://github.com/tn0502)
Other contributions Other contributions
=================== ===================

8
extras/module-node/duk_module_node.h

@ -3,7 +3,15 @@
#include "duktape.h" #include "duktape.h"
#if defined(__cplusplus)
extern "C" {
#endif
extern duk_ret_t duk_module_node_peval_main(duk_context *ctx, const char *path); extern duk_ret_t duk_module_node_peval_main(duk_context *ctx, const char *path);
extern void duk_module_node_init(duk_context *ctx); extern void duk_module_node_init(duk_context *ctx);
#if defined(__cplusplus)
}
#endif /* end 'extern "C"' wrapper */
#endif /* DUK_MODULE_NODE_H_INCLUDED */ #endif /* DUK_MODULE_NODE_H_INCLUDED */

Loading…
Cancel
Save