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:
2929* Valeria Viana Gusmao <valeria.viana.gusmao@gmail.com>
3030* Gabor Greif <ggreif@gmail.com>
3131* Martin Fredriksson <martin.fredriksson@vikinganalytics.se>
32+ * forcepusher <bionitsoup@gmail.com>
3233
3334Portions of this software are derived from third-party works licensed under
3435the following terms:
Original file line number Diff line number Diff line change @@ -496,6 +496,12 @@ export class TSDBuilder extends ExportsWalker {
496496 sb . push ( extendsNode . name . identifier . text ) ; // TODO: fqn?
497497 }
498498 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+ }
499505 var staticMembers = element . prototype . members ;
500506 if ( staticMembers ) {
501507 // TODO: for (let member of staticMembers.values()) {
You can’t perform that action at this time.
0 commit comments