mirror of https://github.com/swig/swig
Dev Checkpoint 201908200213
This commit is contained in:
parent
1aa9e5c722
commit
025269f121
|
@ -788,14 +788,6 @@ int JSEmitter::emitWrapperFunction(Node *n) {
|
|||
|
||||
int JSEmitter::emitNativeFunction(Node *n) {
|
||||
String *wrapname = Getattr(n, "wrap:name");
|
||||
// ismember never seems to be the case;
|
||||
// it is technically possible to add native member functions,
|
||||
// just not at the moment? leaving this as an option for later;
|
||||
// the code will automatically defaulting to static space
|
||||
if (GetFlag(n, "ismember") != 0)
|
||||
Setattr(n, "feature:extend", "1"); // member space
|
||||
else
|
||||
Setattr(n, "feature:extend", "0"); // static space
|
||||
enterFunction(n);
|
||||
state.function(WRAPPER_NAME, wrapname);
|
||||
exitFunction(n);
|
||||
|
|
Loading…
Reference in New Issue