summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/entry.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
committerKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
commitdddce3148a2bc785603576b18ffcf72d39adbe47 (patch)
tree14f4c79ef11bcf0820a8d4ff2ab0c5ac009c365c /Build/source/utils/asymptote/entry.h
parenta01e51b01f5819b6091af48cdca581e9f2a9282e (diff)
asy 1.93
git-svn-id: svn://tug.org/texlive/trunk@17934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/entry.h')
-rw-r--r--Build/source/utils/asymptote/entry.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/Build/source/utils/asymptote/entry.h b/Build/source/utils/asymptote/entry.h
index c4ad2bef451..5d02a9c61f2 100644
--- a/Build/source/utils/asymptote/entry.h
+++ b/Build/source/utils/asymptote/entry.h
@@ -208,10 +208,6 @@ public:
// Look for a function that exactly matches the type given.
varEntry *lookByType(symbol *name, ty *t);
- // Checks if a function was added in the top scope as two identical
- // functions cannot be defined in one scope.
- varEntry *lookInTopScope(symbol *name, ty *t);
-
// Return the type of the variable, if name is overloaded, return an
// overloaded type.
ty *getType(symbol *name);
@@ -336,15 +332,6 @@ public:
bool add(symbol *src, symbol *dest,
venv& source, varEntry *qualifier, coder &c);
- bool lookInTopScope(key k) {
- return scopes.top().find(k)!=scopes.top().end();
- }
-
- // Look for a function that exactly matches the type given.
- bool lookInTopScope(symbol *name, ty *t) {
- return lookInTopScope(key(name, t));
- }
-
varEntry *lookByType(key k) {
keymap::const_iterator p=all.find(k);
return p!=all.end() ? p->second->v : 0;