上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: #include #include #include using namespace emscripten;bool val_bool = true;char val_char = 'c';signed ... 阅读全文
posted @ 2020-07-13 11:54 猫影 阅读(88) 评论(0) 推荐(0)
摘要: #include <emscripten/bind.h> #include <string> #include <vector> using namespace emscripten; bool val_bool = true; char val_char = 'c'; signed char va 阅读全文
posted @ 2020-07-13 11:54 猫影 阅读(118) 评论(0) 推荐(0)
摘要: #include <emscripten/bind.h> using namespace emscripten; double add (double x, double y) { return x + y; } EMSCRIPTEN_BINDINGS(module) { function("add 阅读全文
posted @ 2020-07-13 11:52 猫影 阅读(142) 评论(0) 推荐(0)
摘要: #include using namespace emscripten;double add (double x, double y) { return x + y;}EMSCRIPTEN_BINDIN... 阅读全文
posted @ 2020-07-13 11:52 猫影 阅读(81) 评论(0) 推荐(0)
摘要: #include using namespace emscripten;enum OldStyle { OLD_STYLE_ONE, OLD_STYLE_TWO};enum class NewStyl... 阅读全文
posted @ 2020-07-13 11:50 猫影 阅读(119) 评论(0) 推荐(0)
摘要: #include <emscripten/bind.h> using namespace emscripten; enum OldStyle { OLD_STYLE_ONE, OLD_STYLE_TWO }; enum class NewStyle { ONE, TWO }; EMSCRIPTEN_ 阅读全文
posted @ 2020-07-13 11:50 猫影 阅读(121) 评论(0) 推荐(0)
摘要: #include <emscripten/val.h> #include <emscripten/bind.h> #include <string> #include <iostream> using namespace emscripten; val getDefaultStrValue (voi 阅读全文
posted @ 2020-07-13 11:49 猫影 阅读(145) 评论(0) 推荐(0)
摘要: #include #include #include #include using namespace emscripten;val getDefaultStrValue (void) { retu... 阅读全文
posted @ 2020-07-13 11:49 猫影 阅读(155) 评论(0) 推荐(0)
摘要: #include #include using namespace emscripten;// 定义两个结构体;struct Point2f { int x; int y;};struct P... 阅读全文
posted @ 2020-07-13 11:48 猫影 阅读(156) 评论(0) 推荐(0)
摘要: #include <emscripten/bind.h> #include <string> using namespace emscripten; // 定义两个结构体; struct Point2f { int x; int y; }; struct PersonRecord { std::st 阅读全文
posted @ 2020-07-13 11:48 猫影 阅读(123) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页