mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
change custom_compiled() to return BOOL
Also make slight improvements on error messages produced when custom_compiled() returns an unexpected value.
This commit is contained in:
2
custom.h
2
custom.h
@@ -73,7 +73,7 @@ struct custom {
|
||||
*
|
||||
* These are the required interfaces. The dummy.c stubs these interfaces too.
|
||||
*/
|
||||
E_FUNC int custom_compiled(void); /* return 1 ==> libcustcalc compiled w/CUSTOM defined, else return 0 */
|
||||
E_FUNC BOOL custom_compiled(void); /* return TRUE if libcustcalc compiled CUSTOM defined, FALSE otherwise */
|
||||
E_FUNC VALUE custom(char*, int, VALUE**); /* master custom interface */
|
||||
EXTERN BOOL allow_custom; /* TRUE => custom builtins allowed */
|
||||
E_FUNC void showcustom(void); /* print custom functions */
|
||||
|
Reference in New Issue
Block a user