内容简要 请使用者自行优化
#ifndef EM_PORT_API
# if defined(__EMSCRIPTEN__)
# include <emscripten.h>
# if defined(__cplusplus)
# define EM_PORT_API(rettype) extern "C" rettype EMSCRIPTEN_KEEPALIVE
# else
# define EM_PORT_API(rettype) rettype EMSCRIPTEN_KEEPALIVE
# endif
# else
# if defined(__cplusplus)
# define EM_PORT_API(rettype) extern "C" rettype
# else
# define EM_PORT_API(rettype) rettype
# endif
# endif
#endif
#include<stdio.h>
#include<emscripten.h>
#include<stdlib.h>
#include<string.h>
标签:EM,__,--,util,rettype,API,WebAssembly01,include,PORT
From: https://www.cnblogs.com/simp/p/16783794.html