0120: Expected calling convention type
Last updated
Last updated
Compiler expected a valid name of a 's calling convention but found something else.
A foreign function (a declaration-only function pointing to a memory address in the game) must define the calling convention (can be either cdecl
, stdcall
, or thiscall
) for the compiler to correctly pick the opcode when this function is called.
check your function definition and provide a correct name of the calling convention after <:
Refer to documentation to find list of available conventions and difference between them