bigloo
bigloo copied to clipboard
return void from scheme function
Hello, is there any way to export a scheme function with the following declaration (fire-scalpel::void id::int) to the C world?
For example
(module example
(extern
(include "g_local.h")
(export fire-scalpel "Weapon_Scalpel_Fire"))
(export (fire-scalpel::void ::int)))
(define (fire-scalpel::void id::int)
#f)
How to "return void" from the fire-scalpel function? Weapon_Scalpel_Fire is already declared in g_local.h as void Weapon_Scalpel_Fire(int id); and I would not like to change g_local.h