aboutsummaryrefslogtreecommitdiff
path: root/system/include
AgeCommit message (Collapse)Author
2013-04-18Add support for returning std::wstringChad Austin
2013-04-18Removed dependency on Northstar.Bill Welden
2013-04-18Support for intrusive pointers. This dependency on Northstar must be removed ↵Bill Welden
before pusing embind to GitHub.
2013-04-18fix a bug in optional argument listsChad Austin
2013-04-18allow optional implementation of non-abstract virtual methodsChad Austin
2013-04-18Generalize class property access.Chad Austin
2013-04-12Revert "Bring back EMSCRIPTEN_KEEPALIVE" - instead directly use the ↵Jukka Jylänki
__attribute__((used)) macro in embind/bind.cpp. This reverts commit cbf636a88bcfcabf084331fc4d8a445cacb158f9.
2013-04-12Allow instantiation of subclass wrappers with smart pointers.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-12refactoringChad Austin
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 a convenience for selecting a particular overload when binding a function.Chad Austin
2013-04-12Generalize and support mix-and-match member/non-member getter/setter for ↵Chad Austin
value types.
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-12Further generalize support for tuple elements, and in the meantime, fix a ↵Chad Austin
bug that made it into one variant of the function but not the other...
2013-04-12Restructure and generalize tuple accessors.Chad Austin
2013-04-12Move context generation/copying out of JavaScript and into C++, where we'll ↵Chad Austin
be able to do some cool things in the future.
2013-04-12Fix passing of UINT_MAX and ULONG_MAX from C++ to JS function. LLVM doesn't ↵Jukka Jylanki
have u32 type, so UINT_MAX literal comes out as 'i32 -1' literal to JS, which whould treat it as a negative -1.0 double.
2013-04-12Raise a TypeError if user tries to push an integer from JS side to C/C++ ↵Jukka Jylanki
function exported with embind and the integer (char/short/int/long) is out of bounds of the data type expected by the C++ function.
2013-04-12can look up module properties like HEAP8 from within C++ :)Chad Austin
2013-04-12Allow multiple arguments to emscripten::val::new_()Chad Austin
2013-04-12Fix a bug in external class function definitions and allow specifying ↵Chad Austin
functions that take smart pointers for 'this'
2013-04-12Unify 'this' handling in class functions. 'this' is just the first argument ↵Chad Austin
to the method. This removes several special cases and will remove even more soon.
2013-04-12Some tweaks to facilitate making value_struct and value_tuple simpler.Chad Austin
2013-04-12Fix a bug in embind when using const return valuesChad Austin
2013-04-12Change EMSCRIPTEN_BINDINGS syntax and allow for out-of-order registration of ↵Chad Austin
value_tuple elements.
2013-04-12Simplify upcasting/downcasting, allow multiple smart pointer types per ↵Chad Austin
class, and use the same ClassHandle prototype so class handles and smart pointer handles share implementations for .clone() and .delete()
2013-04-12Give each class a typeid functionChad Austin
2013-04-12Use typeid name for interface wrappers too. (Also introduce more uses of ↵Chad Austin
makeLegalFunctionName)
2013-04-12Add a static assertion that a classes's smart_ptr is compatibleChad Austin
2013-04-12Allow smart pointers to have their actual type names.Chad Austin
2013-04-12:O it works. Use a sharing policy approach to autocasting pointers.Chad Austin
2013-04-12make smart_ptr a method of class_ instead of a globalChad Austin
2013-04-12enable_if is scary and coolChad Austin
2013-04-12Just toodling around with smart pointer binding syntaxChad Austin
2013-04-12Throw an error if calling non-const methods on const objects.Chad Austin
2013-04-12I just learned about the sizeof... operatorChad Austin
2013-04-12.field -> .propertyChad Austin
2013-04-12classmethod -> class_functionChad Austin
2013-04-12.method -> .functionChad Austin
2013-04-12reorder bindingtypes to make it easy to readChad Austin
2013-04-12Kill the custom bindingtype for shared_ptr :)Chad Austin
2013-04-12checkpoint work towards unifying the binding type for classes and smart ↵Chad Austin
pointers.
2013-04-12checkpoint work towards unifying the binding type for classes and smart ↵Chad Austin
pointers.
2013-04-12Make it possible (again) to define a class before its base class is defined.Chad Austin
2013-04-12Rewrite how dependent type registrations are implemented. This reduces code ↵Chad Austin
size both in JS and C++. There are some known bugs. I'll get to those soon.