summaryrefslogtreecommitdiff
path: root/graphics/asymptote/env.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/env.cc')
-rw-r--r--graphics/asymptote/env.cc13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/asymptote/env.cc b/graphics/asymptote/env.cc
index 3b0a59b7a3..55826650ae 100644
--- a/graphics/asymptote/env.cc
+++ b/graphics/asymptote/env.cc
@@ -15,8 +15,8 @@ using namespace types;
namespace trans {
-// Instances of this class are passed to types::ty objects so that they can call
-// back to env when checking casting of subtypes.
+// Instances of this class are passed to types::ty objects so that they can
+// call back to env when checking casting of subtypes.
class envCaster : public caster {
protoenv &e;
symbol name;
@@ -214,4 +214,13 @@ record *env::getModule(symbol id, string filename)
return ge.getModule(id, filename);
}
+record *env::getTemplatedModule(symbol id,
+ string filename,
+ string index,
+ mem::vector<absyntax::namedTyEntry*>* args)
+{
+ return ge.getTemplatedModule(id, filename, index, args);
+}
+
+
}