How to do HasInstance, for a constructor defined in JS, in C++ addon

14 views
Skip to first unread message

Ramon Marco Navarro

unread,
Jul 15, 2014, 6:58:39 AM7/15/14
to nod...@googlegroups.com
Hello everyone! I was wondering how to do a "o instanceof BigInteger" in a C++
addon. The BigInteger constructor is defined in a js dependency. So far, I have
only been able to "require" in C++, but I am stuck in how to do a HasInstance,
given the contructor function.


Reply all
Reply to author
Forward
0 new messages