aboutsummaryrefslogtreecommitdiff
path: root/src/embind
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-04-03 20:03:18 -0700
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:27:21 +0300
commit7eb89c3e4feabd85b50cfad9f3c44a9235540a05 (patch)
tree4eedbbf609bddf69e6222646272d4c673141b03d /src/embind
parentf508d6306ff0be4966d3f26b99a26c46f7c2c1ef (diff)
refactoring
Diffstat (limited to 'src/embind')
-rwxr-xr-xsrc/embind/embind.js6
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 [];
});
}