diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-12-04 06:31:19 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-12-04 06:31:19 -0800 |
commit | 4a8722ce9fcbb66abe2bd304e5a4bad03d842821 (patch) | |
tree | 85771680aa329b5436a3916d89bbdc34a9328c8b /mpi/logtab.h | |
parent | 507c6c1516233cb565142a71176bc0d3a246d5b4 (diff) | |
download | txr-4a8722ce9fcbb66abe2bd304e5a4bad03d842821.tar.gz txr-4a8722ce9fcbb66abe2bd304e5a4bad03d842821.tar.bz2 txr-4a8722ce9fcbb66abe2bd304e5a4bad03d842821.zip |
args: redesign args extractor to just use array.
* args.c (struct args_bool_key): Structure moved
to header file.
(struct args_bool_ctx): One more piece of context information,
the array size.
(args_check_key_store): Work with array of args_bool_key
structs rather than linked list.
Remove useless local variable "store".
(args_key_extract_vl): Function removed.
(args_key_extract): Takes array instead of va_list.
* args.h (struct args_bool_key): Structure declared here.
Loses the next pointer since not used for a linked list.
(args_key_extract_vl): Function removed.
(args_key_extract): Redeclared.
* hash.c (hashv): Adapt to new args_key_extract function.
Diffstat (limited to 'mpi/logtab.h')
0 files changed, 0 insertions, 0 deletions