aboutsummaryrefslogtreecommitdiffhomepage
path: root/function.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-28 14:56:13 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-28 14:56:13 -0800
commit4eea68b5a4434c53e3ee828773617a90e8691aad (patch)
tree0f62820869ac18ec3ce12bdd0d436c3a1652dcd2 /function.h
parent87429bc03cb3fceef36b2957497992994b0c4f2a (diff)
LRU work to load functions off of the main thread.
We'll have to reevaluate this after we fix function autocomplete
Diffstat (limited to 'function.h')
-rw-r--r--function.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/function.h b/function.h
index 18f4d65e..0e8ed821 100644
--- a/function.h
+++ b/function.h
@@ -19,6 +19,7 @@
using std::tr1::shared_ptr;
class parser_t;
+class env_vars;
/**
Structure describing a function. This is used by the parser to
@@ -136,7 +137,7 @@ int function_exists( const wchar_t *name );
/**
Returns true if the function with the name name exists, without triggering autoload.
*/
-int function_exists_no_autoload( const wchar_t *name );
+int function_exists_no_autoload( const wchar_t *name, const env_vars &vars );
/**
Returns all function names.