It was cdecl in my case.
Would have probably worked with stdcall also, but since cdecl worked, I haven't tried stdcall.