File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ under the licensing terms detailed in LICENSE:
29
29
* Valeria Viana Gusmao <valeria.viana.gusmao@gmail.com>
30
30
* Gabor Greif <ggreif@gmail.com>
31
31
* Martin Fredriksson <martin.fredriksson@vikinganalytics.se>
32
+ * forcepusher <bionitsoup@gmail.com>
32
33
33
34
Portions of this software are derived from third-party works licensed under
34
35
the following terms:
Original file line number Diff line number Diff line change @@ -496,6 +496,12 @@ export class TSDBuilder extends ExportsWalker {
496
496
sb . push ( extendsNode . name . identifier . text ) ; // TODO: fqn?
497
497
}
498
498
sb . push ( " {\n" ) ;
499
+ if ( ! isInterface ) {
500
+ indent ( sb , this . indentLevel ) ;
501
+ sb . push ( "static wrap(ptr: usize): " ) ;
502
+ sb . push ( name ) ;
503
+ sb . push ( ";\n" ) ;
504
+ }
499
505
var staticMembers = element . prototype . members ;
500
506
if ( staticMembers ) {
501
507
// TODO: for (let member of staticMembers.values()) {
You can’t perform that action at this time.
0 commit comments