Fix canvas exports
This commit is contained in:
parent
09aa409389
commit
83645a48fa
|
|
@ -3,8 +3,8 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <js.h>
|
#include <js.h>
|
||||||
|
|
||||||
#define GRAPHICS_INIT JS_EXPORT image_data_t* canvas_init(void)
|
#define GRAPHICS_INIT JS_EXPORT_AS(canvas_init) image_data_t* _init(void)
|
||||||
#define GRAPHICS_FRAME JS_EXPORT void canvas_frame(void)
|
#define GRAPHICS_FRAME JS_EXPORT_AS(canvas_frame) void _frame(void)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue