cmp: defcallback: accept ':default' calling convention

Fixes #244.
This commit is contained in:
Daniel Kochmański 2016-06-21 15:20:34 +02:00
parent f00fa4159b
commit f1857e0ed5

View file

@ -96,7 +96,7 @@
return-type)))
(let ((return-type-name (rep-type->c-name (ffi::%convert-to-arg-type return-type)))
(fmod (case call-type
(:cdecl "")
((:cdecl :default) "")
(:stdcall "__stdcall ")
(t (cmperr "DEFCALLBACK does not support ~A as calling convention"
call-type)))))