diff options
author | 2012-02-08 02:34:31 -0800 | |
---|---|---|
committer | 2012-02-08 02:34:31 -0800 | |
commit | 3dc56de0ae42b40104337803c392f506491b30d6 (patch) | |
tree | b2bd0dfd8253425ea88681950c2930c9b6d48cda /function.h | |
parent | b2e58091802403649fbecd260f39e8f3b288f611 (diff) |
Excised some more halloc and array_list_t
Diffstat (limited to 'function.h')
-rw-r--r-- | function.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -14,6 +14,7 @@ #include "util.h" #include "common.h" +#include "event.h" #include <tr1/memory> using std::tr1::shared_ptr; @@ -28,7 +29,7 @@ class env_vars; structure is used for that purpose. Parhaps these two should be merged. */ -typedef struct function_data +struct function_data_t { /** Name of function @@ -45,7 +46,7 @@ typedef struct function_data /** List of all event handlers for this function */ - array_list_t *events; + std::vector<event_t *> events; /** List of all named arguments for this function */ @@ -55,7 +56,7 @@ typedef struct function_data of the underlying function. */ int shadows; -} function_data_t; +}; class function_info_t { public: |