summaryrefslogtreecommitdiff
path: root/graphics/asymptote/genv.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/genv.h')
-rw-r--r--graphics/asymptote/genv.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/asymptote/genv.h b/graphics/asymptote/genv.h
index 7587d9aee5..f78e9c59f2 100644
--- a/graphics/asymptote/genv.h
+++ b/graphics/asymptote/genv.h
@@ -31,7 +31,7 @@ namespace trans {
class genv : public gc {
// The initializer functions for imports, indexed by filename.
- typedef mem::map<vm::importIndex_t,record *> importMap;
+ typedef mem::map<symbol,record *> importMap;
importMap imap;
// List of modules in translation. Used to detect and prevent infinite
@@ -48,21 +48,21 @@ class genv : public gc {
symbol id,
string filename,
mem::vector<absyntax::namedTyEntry*> *args,
- trans::frame *parent
+ coenv& e
);
public:
genv();
// Get an imported module, translating if necessary.
- record *getModule(symbol name, string s);
+ record *getModule(symbol name, string filename);
record *getTemplatedModule(
- symbol id,
+ symbol index,
string filename,
- string sigHandle,
mem::vector<absyntax::namedTyEntry*> *args,
- frame *parent
+ coenv& e
);
+ record *getLoadedModule(symbol index);
// Uses the filename->record map to build a filename->initializer map to be
// used at runtime.