@@ -44,6 +44,7 @@ var LibraryEmbind = {
44
44
} ,
45
45
$FunctionDefinition__deps : [ '$createJsInvoker' , '$createJsInvokerSignature' , '$emittedFunctions' ] ,
46
46
$FunctionDefinition : class {
47
+ hasPublicSymbol = true ;
47
48
constructor ( name , returnType , argumentTypes , functionIndex , thisType = null , isNonnullReturn = false , isAsync = false ) {
48
49
this . name = name ;
49
50
this . returnType = returnType ;
@@ -52,7 +53,6 @@ var LibraryEmbind = {
52
53
this . thisType = thisType ;
53
54
this . isNonnullReturn = isNonnullReturn ;
54
55
this . isAsync = isAsync ;
55
- this . hasPublicSymbol = true ;
56
56
}
57
57
58
58
printSignature ( nameMap , out ) {
@@ -158,6 +158,7 @@ var LibraryEmbind = {
158
158
}
159
159
} ,
160
160
$ClassDefinition : class {
161
+ hasPublicSymbol = true ;
161
162
constructor ( typeId , name , base = null ) {
162
163
this . typeId = typeId ;
163
164
this . name = name ;
@@ -171,7 +172,6 @@ var LibraryEmbind = {
171
172
if ( base ) {
172
173
this . destructorType = 'stack' ;
173
174
}
174
- this . hasPublicSymbol = true ;
175
175
}
176
176
177
177
print ( nameMap , out ) {
@@ -270,23 +270,23 @@ var LibraryEmbind = {
270
270
}
271
271
} ,
272
272
$ConstantDefinition : class {
273
+ hasPublicSymbol = true ;
273
274
constructor ( type , name ) {
274
275
this . type = type ;
275
276
this . name = name ;
276
- this . hasPublicSymbol = true ;
277
277
}
278
278
279
279
printModuleEntry ( nameMap , out ) {
280
280
out . push ( ` ${ this . name } : ${ nameMap ( this . type ) } ;\n` ) ;
281
281
}
282
282
} ,
283
283
$EnumDefinition : class {
284
+ hasPublicSymbol = true ;
284
285
constructor ( typeId , name ) {
285
286
this . typeId = typeId ;
286
287
this . name = name ;
287
288
this . items = [ ] ;
288
289
this . destructorType = 'none' ;
289
- this . hasPublicSymbol = true ;
290
290
}
291
291
292
292
print ( nameMap , out ) {
0 commit comments