aboutsummaryrefslogtreecommitdiff
path: root/tests/embind/embind_test.cpp
AgeCommit message (Collapse)Author
2013-07-17Add a test that shows JS objects can be modified if passed by reference into ↵Chad Austin
a C++ function
2013-07-17Rename value_tuple to value_array and value_struct to value_objectChad Austin
2013-05-17Add support for multiple overloaded smart pointer constructors.Chad Austin
2013-05-17Add new unit tests to ensure that the return values of interfaces ↵Jukka Jylanki
implemented in JS don't leak memory.
2013-05-17Add support for (fast?) memory_view objects. If C++ passes a memory_view to ↵Chad Austin
JS, it gets converted into a typed array object on the other side. Intended for WebGL.
2013-05-02Add a test for interface methods that return void.Chad Austin
2013-05-02Add isAliasOf for seeing if two embind handles point to the same underlying ↵Chad Austin
object. Conflicts: tests/embind/embind_test.cpp
2013-05-02Add a select_const for selecting the const method implementation if there ↵Chad Austin
are only two. Conflicts: tests/embind/embind_test.cpp
2013-04-18Make select_overload work for member functionsChad Austin
2013-04-18calloperator wasn't pulling its own weight. We probably should have a ↵Chad Austin
higher-level register_function though...
2013-04-18Add support for read-only properties.Chad Austin
2013-04-18Add a new unit test that explicitly checks for the case when two different ↵Jukka Jylänki
classes happen to have member functions with the same name and signature - a reason why the 'instanceof' check exists in embind.js.
2013-04-18switch to EMSCRIPTEN_SYMBOL which improves code size a bit by storing the ↵Chad Austin
pointer to the string literal as a constant as opposed to a global variable.
2013-04-18fix readLatin1String to actually cover the range of latin-1 characters and ↵Chad Austin
add support for interned string symbols to emscripten::val
2013-04-18Finally! JSInterface is deadChad Austin
2013-04-18Support returning movable typesChad Austin
2013-04-18Allow passing JavaScript strings to std::wstringChad Austin
2013-04-18Add support for returning std::wstringChad Austin
2013-04-18verify non-ascii data can be passed through std::stringChad Austin
2013-04-18allow optional implementation of non-abstract virtual methodsChad Austin
2013-04-18Generalize class property access.Chad Austin
2013-04-12support overloaded index accessChad Austin
2013-04-12Add support for index access to value_tuple and value_structChad Austin
2013-04-12Add support for overloading class member functions and class static ↵Jukka Jylanki
functions based on function argument count.
2013-04-12Allow value_tuple and value_struct to be registered as global constants. ↵Chad Austin
This involved reworking how value_struct and value_tuple are registered.
2013-04-12Add support for global constants.Chad Austin
2013-04-12Add support for registering overloads of free functions based on argument count.Jukka Jylanki
2013-04-12Add support for binding multiple class constructors with embind. The ctors ↵Jukka Jylanki
must have different number of arguments each.
2013-04-12add value_struct and value_tuple support for member function getters and ↵Chad Austin
setters.
2013-04-12Support accessing value struct and tuple fields and elements via base class ↵Chad Austin
pointers.
2013-04-12Generalize support for struct fieldsChad Austin
2013-04-12Migrate embind tests from IMVU repository to emscripten repository.Jukka Jylanki
2013-04-12emscripten::internal::optional is now copyable.Andy Friesen
Fix JSInterface::JSInterface copy constructor to take a const&
2012-11-30Fixed embind for non-void non-const class methods (with test).Dominic Wong
2012-09-25add embind testsChad Austin