diff options
author | Chad Austin <chad@imvu.com> | 2013-04-03 20:03:18 -0700 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:27:21 +0300 |
commit | 7eb89c3e4feabd85b50cfad9f3c44a9235540a05 (patch) | |
tree | 4eedbbf609bddf69e6222646272d4c673141b03d /src/embind | |
parent | f508d6306ff0be4966d3f26b99a26c46f7c2c1ef (diff) |
refactoring
Diffstat (limited to 'src/embind')
-rwxr-xr-x | src/embind/embind.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js index 37439912..df581298 100755 --- a/src/embind/embind.js +++ b/src/embind/embind.js @@ -1277,15 +1277,11 @@ function __embind_register_interface( }); } -function __embind_register_constant(name, type, value, destructor) { +function __embind_register_constant(name, type, value) { name = Pointer_stringify(name); whenDependentTypesAreResolved([], [type], function(type) { type = type[0]; - /*global console*/ - //console.log('type', type); - //console.log('value', value); Module[name] = type.fromWireType(value); - // todo: I need to natively destruct 'value' here return []; }); } |