(defmacro defmethod* ((name fun-name &key (error-fun 'std-check-error)) ret-type &body args) `(defcfun* (,name ,fun-name :error-fun ,error-fun :method t) ,ret-type ,@args))