diff options
author | Bradley Smith | 2008-01-21 17:30:17 +0000 |
---|---|---|
committer | Bradley Smith | 2008-01-21 17:30:17 +0000 |
commit | 92007999e5cb1dcb001028d3e74db83267975c8b (patch) | |
tree | 53193574e450167b40ce9eca563a41cfe43cdc62 /src/api.c | |
parent | Corrected fsf address in copyright. (diff) | |
download | gnurobots-92007999e5cb1dcb001028d3e74db83267975c8b.tar.gz |
Reformatted src/api.c.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'src/api.c')
-rw-r--r-- | src/api.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -136,7 +136,7 @@ api_robot_get_score (void) return (scm_long2num (score)); } -void +void api_init (void) { /* define some new builtins (hooks) so that they are available in @@ -149,7 +149,7 @@ api_init (void) scm_c_define_gsubr ("robot-look", 1, 0, 0, api_robot_look); scm_c_define_gsubr ("robot-grab", 0, 0, 0, api_robot_grab); scm_c_define_gsubr ("robot-zap", 0, 0, 0, api_robot_zap); - + scm_c_define_gsubr ("robot-get-shields", 0, 0, 0, api_robot_get_shields); scm_c_define_gsubr ("robot-get-energy", 0, 0, 0, api_robot_get_energy); scm_c_define_gsubr ("robot-get-score", 0, 0, 0, api_robot_get_score); @@ -157,4 +157,3 @@ api_init (void) scm_c_define_gsubr ("stop", 0, 0, 0, api_robot_stop); scm_c_define_gsubr ("quit", 0, 0, 0, api_robot_stop); } - |