namespace WhiteMagic.Assembly; /// /// x86/x86-64 calling conventions for call-stub generation. /// Named CallConvention (not CallingConvention) to avoid ambiguity with /// . /// public enum CallConvention { /// Caller pushes args right-to-left and cleans the stack (x86). Cdecl, /// Caller pushes args right-to-left; callee cleans the stack (x86). Stdcall, /// ECX receives the this pointer; remaining args on stack right-to-left; callee cleans (x86). Thiscall, /// ECX/EDX receive the first two args; remaining on stack right-to-left; callee cleans (x86). Fastcall, }