|
@@ -8,6 +8,10 @@
|
|
|
|
|
|
|
|
#include "wasm.h"
|
|
#include "wasm.h"
|
|
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
|
+extern "C" {
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
typedef enum EncodingFlag {
|
|
typedef enum EncodingFlag {
|
|
|
UTF8,
|
|
UTF8,
|
|
|
WTF8,
|
|
WTF8,
|
|
@@ -110,4 +114,8 @@ wasm_string_rewind(WASMString str_obj, uint32 pos, uint32 count,
|
|
|
void
|
|
void
|
|
|
wasm_string_dump(WASMString str_obj);
|
|
wasm_string_dump(WASMString str_obj);
|
|
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
|
+} /* end of extern "C" */
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
#endif /* end of _STRING_OBJECT_H_ */
|
|
#endif /* end of _STRING_OBJECT_H_ */
|