Open izarif opened 3 years ago
Hello, is there any way to export a scheme function with the following declaration (fire-scalpel::void id::int) to the C world?
(fire-scalpel::void id::int)
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
fire-scalpel
Weapon_Scalpel_Fire
g_local.h
void Weapon_Scalpel_Fire(int id);
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
How to "return void" from the
fire-scalpel
function?Weapon_Scalpel_Fire
is already declared ing_local.h
asvoid Weapon_Scalpel_Fire(int id);
and I would not like to changeg_local.h