I solve some of these problems...
First 2 questions are still un-solved, but in fact i can bind the static 
data or enum inisde a class to " Module. " instead of "Module.MyClass" and 
i think that's ok for me

Q3: yes, you cannot bind a constructor for an abstract class

Q4: 
  - First, when I call the parent's constructor, can I pass the first 2 
parameters into the call(this, ____? ) just like we do in C++:
  --> Yes, but i have to add the constructor when binding with 
allow_subclass() ( .allow_subclass<BaseClassWrapper>("BaseClassWrapper", 
constructor<int, bool>()) )

  - Second, if I set the values directly to the variables, it produces 
incorrect result ( which is: 0, 0, 512) but the values in arguments are all 
correct.
  --> That's because I didn't bind the " .property ", so the two variables 
"intMemberData" and "boolMemberData" actually are not the same as I thought


>  

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to