The Mythryl_Callable_C_Library_Interface api defines the external interface to the mythryl_callable_c_library_interface package.
The Mythryl_Callable_C_Library_Interface api is implemented by the mythryl_callable_c_library_interface package.
The Mythryl_Callable_C_Library_Interface api source code is src/lib/std/src/unsafe/mythryl-callable-c-library-interface.api. The above information is manually maintained and may contain errors.
api { exception CFUN_NOT_FOUND String; find_c_function : {fun_name:String, lib_name:String} -> X -> Y; find_c_function' : {fun_name:String, lib_name:String} -> (Ref((X -> Y) ) , (({fun_name:String, io_call:X -> Y, lib_name:String} -> X -> Y) -> Void)); find_c_function'' : {fun_name:String, lib_name:String} -> ((X -> Y) , Ref((X -> Y) ) , (({fun_name:String, io_call:X -> Y, lib_name:String} -> X -> Y) -> Void)); find_c_function''' : {fun_name:String, lib_name:String} -> ( (Y -> X) , Ref((Y -> X) ) , (({fun_name:String, io_call:Y -> X, lib_name:String} -> Y -> X) -> Void) , (Y -> Z) , Ref((Y -> Z) ) , (({fun_name:String, io_call:Y -> X, lib_name:String} -> Y -> Z) -> Void) ); restore_redirected_syscalls_to_direct_form : Void -> Void; System_Constant = {id:Int, name:String}; exception SYSTEM_CONSTANT_NOT_FOUND String; find_system_constant : (String , List(System_Constant )) -> Null_Or(System_Constant ); bind_system_constant : (String , List(System_Constant )) -> System_Constant;};