diff options
author | Chad Austin <chad@imvu.com> | 2013-03-23 23:52:27 -0700 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:26:38 +0300 |
commit | d0d2471703ec6bd62a9d5557984a74a358c032f6 (patch) | |
tree | 0d59a055be7276e7570b578f062af7793500cc53 | |
parent | b7936b0a61a37b451b2e4f01cb02986d26640d35 (diff) |
Fix a bug in external class function definitions and allow specifying functions that take smart pointers for 'this'
-rwxr-xr-x | system/include/emscripten/bind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h index 76ae7df6..332c533b 100755 --- a/system/include/emscripten/bind.h +++ b/system/include/emscripten/bind.h @@ -812,7 +812,7 @@ namespace emscripten { methodName, args.count, args.types, - reinterpret_cast<GenericFunction>(&FunctionInvoker<decltype(function), ReturnType, ClassType, Args...>::invoke), + reinterpret_cast<GenericFunction>(&FunctionInvoker<decltype(function), ReturnType, ThisType, Args...>::invoke), sizeof(function), &function); return *this; |