File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -300,12 +300,12 @@ module.exports = function (defs, baseFolder) {
300
300
}
301
301
} ,
302
302
"object" : {
303
- "declare" : ( ) => { } ,
304
- "stub" : ( ) => { } ,
305
- "stub_func" : ( ) => { }
303
+ "declare" : ( ) => { } ,
304
+ "stub" : ( ) => { } ,
305
+ "stub_func" : ( ) => { }
306
306
} ,
307
307
"const" : {
308
- "declare" : ( ) => { } ,
308
+ "declare" : ( ) => { } ,
309
309
"stub" : fn => {
310
310
var fname = fn . name ;
311
311
txts . push ( " static void s_get_" + fname + "(v8::Local<v8::String> property, const v8::PropertyCallbackInfo<v8::Value>& args);" ) ;
@@ -678,7 +678,7 @@ module.exports = function (defs, baseFolder) {
678
678
var types = { } ;
679
679
680
680
function add_type ( type ) {
681
- if ( type && ( type !== cls ) &&
681
+ if ( type && ( type !== cls ) && ( type !== 'object' ) &&
682
682
( type !== def . declare . extend ) &&
683
683
( ! typeMap [ type ] ) )
684
684
types [ type ] = true ;
@@ -769,4 +769,4 @@ module.exports = function (defs, baseFolder) {
769
769
for ( var cls in defs ) {
770
770
gen_code ( cls , defs [ cls ] ) ;
771
771
}
772
- }
772
+ }
You can’t perform that action at this time.
0 commit comments