summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-scm-c-bind-keyword-arguments.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-10Fix tests for 'scm_c_bind_keyword_arguments'.Mark H Weaver1-17/+48
* test-suite/standalone/test-scm-c-bind-keyword-arguments.c (error_handler): Remove function. (unrecognized_keyword_error_handler, invalid_keyword_error_handler, odd_length_error_handler): New functions. (test_scm_c_bind_keyword_arguments): Use new error handler functions.
2013-04-06Fix indentation in test-scm-c-bind-keyword-arguments.c.Mark H Weaver1-7/+7
* test-suite/standalone/test-scm-c-bind-keyword-arguments.c (test_invalid_keyword): Fix indentation.
2013-04-06Implement 'scm_c_bind_keyword_arguments'.Mark H Weaver1-0/+201
* libguile/keywords.c (scm_keyword_argument_error): New variable. (scm_c_bind_keyword_arguments): New API function. * libguile/keywords.h (enum scm_keyword_arguments_flags): New enum. (scm_t_keyword_arguments_flags): New typedef. (scm_c_bind_keyword_arguments): New prototype. * doc/ref/api-data.texi (Coding With Keywords, Keyword Procedures): Add documentation. * test-suite/standalone/test-scm-c-bind-keyword-arguments.c: New file. * test-suite/standalone/Makefile.am: Add test-scm-c-bind-keyword-arguments test.