diff options
author | gilzoide <gilzoide@gmail.com> | 2024-05-04 07:38:56 -0300 |
---|---|---|
committer | gilzoide <gilzoide@gmail.com> | 2024-05-04 08:13:16 -0300 |
commit | 02b80cef1ad56565e181ddd30142bd9ddfc10d74 (patch) | |
tree | 11b5a5437f8c112beb8bdc39c172a2ff53a34571 /sources/s7/s7.h | |
parent | 0b16bff33cea484c03adc9304623b81629392722 (diff) | |
download | gamejam-slgj-2024-02b80cef1ad56565e181ddd30142bd9ddfc10d74.tar.gz gamejam-slgj-2024-02b80cef1ad56565e181ddd30142bd9ddfc10d74.tar.bz2 gamejam-slgj-2024-02b80cef1ad56565e181ddd30142bd9ddfc10d74.zip |
Expand tabs into 8 spaces in s7 source code
This makes the code correctly aligned in any editors
Diffstat (limited to 'sources/s7/s7.h')
-rw-r--r-- | sources/s7/s7.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sources/s7/s7.h b/sources/s7/s7.h index 97008da..feb5601 100644 --- a/sources/s7/s7.h +++ b/sources/s7/s7.h @@ -16,9 +16,9 @@ typedef double s7_double; #include <stdbool.h> #else #ifndef true - #define bool unsigned char - #define true 1 - #define false 0 + #define bool unsigned char + #define true 1 + #define false 0 #endif #endif #endif @@ -504,7 +504,7 @@ s7_pointer s7_make_function(s7_scheme *sc, const char *name, s7_function fnc, s7 /* safe functions: */ s7_pointer s7_make_safe_function(s7_scheme *sc, const char *name, s7_function fnc, s7_int required_args, s7_int optional_args, bool rest_arg, const char *doc); s7_pointer s7_make_typed_function(s7_scheme *sc, const char *name, s7_function f, - s7_int required_args, s7_int optional_args, bool rest_arg, const char *doc, s7_pointer signature); + s7_int required_args, s7_int optional_args, bool rest_arg, const char *doc, s7_pointer signature); /* arglist or body possibly unsafe: */ s7_pointer s7_define_function(s7_scheme *sc, const char *name, s7_function fnc, s7_int required_args, s7_int optional_args, bool rest_arg, const char *doc); @@ -512,18 +512,18 @@ s7_pointer s7_define_function(s7_scheme *sc, const char *name, s7_function fnc, /* arglist and body safe: */ s7_pointer s7_define_safe_function(s7_scheme *sc, const char *name, s7_function fnc, s7_int required_args, s7_int optional_args, bool rest_arg, const char *doc); s7_pointer s7_define_typed_function(s7_scheme *sc, const char *name, s7_function fnc, - s7_int required_args, s7_int optional_args, bool rest_arg, - const char *doc, s7_pointer signature); + s7_int required_args, s7_int optional_args, bool rest_arg, + const char *doc, s7_pointer signature); /* arglist unsafe or body unsafe: */ s7_pointer s7_define_unsafe_typed_function(s7_scheme *sc, const char *name, s7_function fnc, - s7_int required_args, s7_int optional_args, bool rest_arg, - const char *doc, s7_pointer signature); + s7_int required_args, s7_int optional_args, bool rest_arg, + const char *doc, s7_pointer signature); /* arglist safe, body possibly unsafe: */ s7_pointer s7_define_semisafe_typed_function(s7_scheme *sc, const char *name, s7_function fnc, - s7_int required_args, s7_int optional_args, bool rest_arg, - const char *doc, s7_pointer signature); + s7_int required_args, s7_int optional_args, bool rest_arg, + const char *doc, s7_pointer signature); s7_pointer s7_make_function_star(s7_scheme *sc, const char *name, s7_function fnc, const char *arglist, const char *doc); s7_pointer s7_make_safe_function_star(s7_scheme *sc, const char *name, s7_function fnc, const char *arglist, const char *doc); @@ -611,27 +611,27 @@ s7_pointer s7_call_with_catch(s7_scheme *sc, s7_pointer tag, s7_pointer body, s7 bool s7_is_dilambda(s7_pointer obj); s7_pointer s7_dilambda(s7_scheme *sc, - const char *name, - s7_pointer (*getter)(s7_scheme *sc, s7_pointer args), - s7_int get_req_args, s7_int get_opt_args, - s7_pointer (*setter)(s7_scheme *sc, s7_pointer args), - s7_int set_req_args, s7_int set_opt_args, - const char *documentation); + const char *name, + s7_pointer (*getter)(s7_scheme *sc, s7_pointer args), + s7_int get_req_args, s7_int get_opt_args, + s7_pointer (*setter)(s7_scheme *sc, s7_pointer args), + s7_int set_req_args, s7_int set_opt_args, + const char *documentation); s7_pointer s7_typed_dilambda(s7_scheme *sc, - const char *name, - s7_pointer (*getter)(s7_scheme *sc, s7_pointer args), - s7_int get_req_args, s7_int get_opt_args, - s7_pointer (*setter)(s7_scheme *sc, s7_pointer args), - s7_int set_req_args, s7_int set_opt_args, - const char *documentation, - s7_pointer get_sig, s7_pointer set_sig); + const char *name, + s7_pointer (*getter)(s7_scheme *sc, s7_pointer args), + s7_int get_req_args, s7_int get_opt_args, + s7_pointer (*setter)(s7_scheme *sc, s7_pointer args), + s7_int set_req_args, s7_int set_opt_args, + const char *documentation, + s7_pointer get_sig, s7_pointer set_sig); s7_pointer s7_dilambda_with_environment(s7_scheme *sc, s7_pointer envir, - const char *name, - s7_pointer (*getter)(s7_scheme *sc, s7_pointer args), - s7_int get_req_args, s7_int get_opt_args, - s7_pointer (*setter)(s7_scheme *sc, s7_pointer args), - s7_int set_req_args, s7_int set_opt_args, - const char *documentation); + const char *name, + s7_pointer (*getter)(s7_scheme *sc, s7_pointer args), + s7_int get_req_args, s7_int get_opt_args, + s7_pointer (*setter)(s7_scheme *sc, s7_pointer args), + s7_int set_req_args, s7_int set_opt_args, + const char *documentation); s7_pointer s7_values(s7_scheme *sc, s7_pointer args); /* (values ...) */ bool s7_is_multiple_value(s7_pointer obj); /* is obj the results of (values ...) */ |