diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-13 23:44:18 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-13 23:54:49 -0800 |
commit | 8ba79d6ab9093388df36c06c2b9e2e2b95014cd5 (patch) | |
tree | 6e8f5780d241a702d8046dd328e504e9d4eef917 /function.h | |
parent | 57c9eeeecb57a618ab534135f07144a4bbc99324 (diff) |
Migrate function.cpp to STL types.
Diffstat (limited to 'function.h')
-rw-r--r-- | function.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -13,6 +13,7 @@ #include <wchar.h> #include "util.h" +#include "common.h" /** Structure describing a function. This is used by the parser to @@ -99,14 +100,11 @@ int function_exists( const wchar_t *name ); int function_exists_no_autoload( const wchar_t *name ); /** - Insert all function names into l. These are not copies of the - strings and should not be freed after use. + Returns all function names. - \param list the list to add the names to \param get_hidden whether to include hidden functions, i.e. ones starting with an underscore */ -void function_get_names( array_list_t *list, - int get_hidden ); +wcstring_list_t function_get_names( int get_hidden ); /** Returns tha absolute path of the file where the specified function @@ -129,7 +127,7 @@ int function_get_definition_offset( const wchar_t *name ); /** Returns a list of all named arguments of the specified function. */ -array_list_t *function_get_named_arguments( const wchar_t *name ); +wcstring_list_t function_get_named_arguments( const wchar_t *name ); /** Creates a new function using the same definition as the specified function. |