summaryrefslogtreecommitdiff
path: root/host/commands/emugen/EntryPoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/commands/emugen/EntryPoint.h')
-rw-r--r--host/commands/emugen/EntryPoint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/commands/emugen/EntryPoint.h b/host/commands/emugen/EntryPoint.h
index a50fda041..bc3fd6937 100644
--- a/host/commands/emugen/EntryPoint.h
+++ b/host/commands/emugen/EntryPoint.h
@@ -40,6 +40,7 @@ public:
VarsArray & vars() { return m_vars; }
Var & retval() { return m_retval; }
Var * var(const std::string & name);
+ const Var * var(const std::string & name) const;
bool hasPointers();
bool unsupported() const { return m_unsupported; }
void setUnsupported(bool state) { m_unsupported = state; }
@@ -49,6 +50,7 @@ public:
void setNotApi(bool state) { m_notApi = state; }
bool flushOnEncode() const { return m_flushOnEncode; }
void setFlushOnEncode(bool state) { m_flushOnEncode = state; }
+ int validateVarAttr(const std::string& varname, size_t lc) const;
int setAttribute(const std::string &line, size_t lc);
private: