摘要:
#include <emscripten/bind.h> #include <string> using namespace emscripten; class baseClass { int age; std::string name; public: baseClass(int age, std 阅读全文
posted @ 2020-07-13 12:45
猫影
阅读(124)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <string> using namespace emscripten; class baseClass { int age; std::string name; public: baseClass(int age, std 阅读全文
posted @ 2020-07-13 12:45
猫影
阅读(129)
评论(0)
推荐(0)
摘要:
#include #include using namespace emscripten;class Class {public: Class(int x) : x(x) {} inline int ... 阅读全文
posted @ 2020-07-13 12:38
猫影
阅读(340)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <memory> using namespace emscripten; class Class { public: Class(int x) : x(x) {} inline int getX () const { ret 阅读全文
posted @ 2020-07-13 12:38
猫影
阅读(269)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> using namespace emscripten; class xClass { public: xClass(int x) : x(x) {} inline int getX () const { return x; } inline 阅读全文
posted @ 2020-07-13 12:36
猫影
阅读(437)
评论(0)
推荐(0)
摘要:
#include using namespace emscripten;class xClass {public: xClass(int x) : x(x) {} inline int get... 阅读全文
posted @ 2020-07-13 12:36
猫影
阅读(284)
评论(1)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <string> using namespace emscripten; class Interface { public: Interface() = default; // virtual std::string inv 阅读全文
posted @ 2020-07-13 12:34
猫影
阅读(248)
评论(0)
推荐(0)
摘要:
#include #include using namespace emscripten;class Interface {public: Interface() = default; // ... 阅读全文
posted @ 2020-07-13 12:34
猫影
阅读(128)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <string> using namespace emscripten; class BaseClass { public: BaseClass() = default; // virtual std::string inv 阅读全文
posted @ 2020-07-13 12:27
猫影
阅读(188)
评论(0)
推荐(0)
摘要:
#include #include using namespace emscripten;class BaseClass {public: BaseClass() = default; // ... 阅读全文
posted @ 2020-07-13 12:27
猫影
阅读(88)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <string> using namespace emscripten; class BaseClass { public: BaseClass() = default; virtual std::string invoke 阅读全文
posted @ 2020-07-13 12:07
猫影
阅读(113)
评论(0)
推荐(0)
摘要:
#include #include using namespace emscripten;class BaseClass {public: BaseClass() = default; vir... 阅读全文
posted @ 2020-07-13 12:07
猫影
阅读(111)
评论(0)
推荐(0)
摘要:
#include using namespace emscripten;class xClass {public: xClass(int x) : x(x) {}; int getVal (v... 阅读全文
posted @ 2020-07-13 12:04
猫影
阅读(110)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> using namespace emscripten; class xClass { public: xClass(int x) : x(x) {}; int getVal (void) const { return x; } void se 阅读全文
posted @ 2020-07-13 12:04
猫影
阅读(132)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <emscripten/val.h> using namespace emscripten; unsigned char _t [] = {'a', 'b', 'c'}; unsigned char *byteBuffer 阅读全文
posted @ 2020-07-13 12:01
猫影
阅读(331)
评论(0)
推荐(0)
摘要:
#include #include using namespace emscripten;unsigned char _t [] = {'a', 'b', 'c'};unsigned char *byte... 阅读全文
posted @ 2020-07-13 12:01
猫影
阅读(104)
评论(0)
推荐(0)
摘要:
#include #include using namespace emscripten;class OverloadClass {public: OverloadClass() = default... 阅读全文
posted @ 2020-07-13 11:59
猫影
阅读(98)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <string> using namespace emscripten; class OverloadClass { public: OverloadClass() = default; std::string foo () 阅读全文
posted @ 2020-07-13 11:59
猫影
阅读(203)
评论(0)
推荐(0)
摘要:
#include <emscripten/bind.h> #include <string> #include <vector> using namespace std; using namespace emscripten; class xClass { public: // 构造方法; xCla 阅读全文
posted @ 2020-07-13 11:55
猫影
阅读(109)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std;using namespace emscripten;class xClass {public: // ... 阅读全文
posted @ 2020-07-13 11:55
猫影
阅读(122)
评论(0)
推荐(0)
摘要:
#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 <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)
摘要:
#include #include using namespace emscripten;// 定义两个结构体;struct Point2f { int x; int y;};struct P... 阅读全文
posted @ 2020-07-13 11:48
猫影
阅读(156)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 4 using namespace std; 5 using namespace emscripten; 6 7 class xClass { 8... 阅读全文
posted @ 2020-07-13 11:38
猫影
阅读(110)
评论(0)
推荐(0)
摘要:
1 #include <emscripten/bind.h> 2 #include <string> 3 4 using namespace std; 5 using namespace emscripten; 6 7 class xClass { 8 public: 9 // 构造方法; 10 x 阅读全文
posted @ 2020-07-13 11:38
猫影
阅读(280)
评论(0)
推荐(0)
浙公网安备 33010602011771号