25 #include "pips_config.h"
80 result =
strdup((
const char *)s);
void list_to_array(list l, gen_array_t a)
args.c
void update_list_from_array(list l, gen_array_t a)
Just modify the strings in a list from an array of strings.
void sort_list_of_strings(list l)
Sort a list of strings.
string list_to_string(list l)
Return the malloc()ed version of the concatenation of all the strings in the list.
size_t gen_array_nitems(const gen_array_t a)
gen_array_t gen_array_make(size_t size)
declarations...
void gen_array_addto(gen_array_t a, size_t i, void *what)
void gen_array_sort(gen_array_t a)
void * gen_array_item(const gen_array_t a, size_t i)
void gen_array_free(gen_array_t a)
#define NIL
The empty list (nil in Lisp)
size_t gen_length(const list l)
#define CAR(pcons)
Get the value of the first element of a list.
void gen_free_list(list l)
free the spine of the list
#define MAPL(_map_list_cp, _code, _l)
Apply some code on the addresses of all the elements of a list.
#define MAP(_map_CASTER, _map_item, _map_code, _map_list)
Apply/map an instruction block on all the elements of a list (old fashioned)
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
string concatenate(const char *,...)
Return the concatenation of the given strings.
The structure used to build lists in NewGen.