Expand the loadable object support.

Provide a simple API for loaded objects to interact with GNU make.  I still
won't guarantee that this API won't change but it's much closer to something
that's supported and provides easy-to-use interfaces with a public header
file.
This commit is contained in:
Paul Smith
2013-02-25 01:38:36 -05:00
parent 4baf9ab456
commit 5058a94ee7
19 changed files with 503 additions and 148 deletions

View File

@@ -167,7 +167,7 @@ void init_hash_global_variable_set (void);
void hash_init_function_table (void);
void define_new_function(const gmk_floc *flocp,
const char *name, int min, int max, int expand,
char *(*func)(char *, char **, const char *));
char *(*func)(const char *, int, char **));
struct variable *lookup_variable (const char *name, unsigned int length);
struct variable *lookup_variable_in_set (const char *name, unsigned int length,
const struct variable_set *set);