Calling-convention descriptor objects used in function import and export descriptors. The module exports cdecl and stdcall. Each descriptor is one object whose public field CALL holds the calling-convention text.
cdecl and stdcall are descriptor objects, not functions.CALL.CALL is the calling-convention text used in function import and export descriptors.Descriptor object for the C declaration calling convention.
CALL is the calling-convention text associated with C declaration calling.Descriptor object for the standard-call calling convention.
CALL is the calling-convention text associated with standard-call calling.storageSize is 8nx, both cdecl.CALL and stdcall.CALL are the empty string.cdecl.CALL is "ccc" and stdcall.CALL is "x86_stdcallcc".CALL text is descriptor data whose exact value depends on storage size.convention field of function import and export descriptors."conventions" use
"String" use
"control" use
addOne: {value: Int32;} Int32 {convention: cdecl;} codeRef;
[1 +] !addOne
{} Int32 {} [
("result=" 41 addOne LF) printList
0
] "main" exportFunction
result=42
importFunction (inputsSchema output options name --): Declares or imports a named function with the supplied signature and binds it in the current scope.exportFunction (inputsSchema output options callable name --): Exports a named function built from one Block and one signature.