aboutsummaryrefslogtreecommitdiff
path: root/tests/embind/embind_test.cpp
AgeCommit message (Collapse)Author
2014-05-16expose typeof via emscripten::valChad Austin
2014-04-29fix polymeris's testsChad Austin
2014-04-29Bind std::basic_string<unsigned char> to js stringsCamilo Polymeris
2014-04-13Always require an explicit name for shared_ptr and wrapper type bindingsChad Austin
2014-04-13Add a way to opt out of compiler-generated type names for smart pointers and ↵Chad Austin
wrapper types.
2014-04-13embind doesn't always need the full std::type_info record. if ↵Chad Austin
EMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0, then use a lighter type identifier. This shaves 175 KB off of our engine's minified JavaScript.
2014-03-28Make val::call<> compatible with asm.jsChad Austin
2014-03-28Fix passing memory_views in varargsChad Austin
2014-03-28Allow passing memory_views in varargsChad Austin
2014-03-28make val::new_ compatible with asm.jsChad Austin
2014-03-28make val::as<> compatible with asm.jsChad Austin
2014-03-28tests for val::as on strings and val tooChad Austin
2014-03-28Add some unit tests that verify we can pass all kinds of primitive types ↵Chad Austin
through val::as
2014-02-04Add a sample for adding mixins to embindChad Austin
2014-02-04Add a test to verify we can use static constants defined in classes.Chad Austin
2014-02-04Rename smart_ptr_trait::operator_new to construct_null per feedback from Chad.Andy Friesen
2014-02-04Add operator_new to smart_ptr_trait.Andy Friesen
2014-02-04Bring back Joe's original test tooChad Austin
2014-02-04Fix a possible memory corruption bug when using val::asChad Austin
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