From 7cec8639839e7e48d274570c7a9c915d6565c8cb Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 21 Jan 2012 10:08:06 +1000 Subject: A better way to do function parameters. NOTE - using an unreleased Eina API from SVN. --- LuaSL/src/LuaSL_LSL_tree.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'LuaSL/src/LuaSL_LSL_tree.h') diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h index be3896e..2bda3b4 100644 --- a/LuaSL/src/LuaSL_LSL_tree.h +++ b/LuaSL/src/LuaSL_LSL_tree.h @@ -207,8 +207,10 @@ struct _LSL_Function { const char *name; LSL_Leaf *type; - LSL_Leaf *params; // Probably should be some sort of eina list. - Eina_Hash *variables; // And this actually duplicates params. +#ifdef LUASL_DIFF_CHECK + LSL_Leaf *params; // So we store the parenthesis, and their ignorables. +#endif + Eina_Inarray vars; // Eina Inarray has not been released yet (Eina 1.2). LSL_Leaf *block; }; -- cgit v1.1