summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-02-17 13:49:53 -0800
committerGitHub <noreply@github.com>2017-02-17 13:49:53 -0800
commitd946d68963d4731020d7dc0e41f331e0ab89591c (patch)
tree8e49ed84673af01166cc7101959b1423824454f4 /src/wasm.h
parent359c6133b3d7d6451cf65f3edce0bcf319f9af22 (diff)
downloadbinaryen-d946d68963d4731020d7dc0e41f331e0ab89591c.tar.gz
binaryen-d946d68963d4731020d7dc0e41f331e0ab89591c.tar.bz2
binaryen-d946d68963d4731020d7dc0e41f331e0ab89591c.zip
clean up raw pointer import->functionType, make it a Name like everything else (#915)
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 31dafb84b..9807ee63c 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1445,11 +1445,11 @@ enum class ExternalKind {
class Import {
public:
- Import() : functionType(nullptr), globalType(none) {}
+ Import() : globalType(none) {}
Name name, module, base; // name = module.base
ExternalKind kind;
- FunctionType* functionType; // for Function imports
+ Name functionType; // for Function imports
WasmType globalType; // for Global imports
};