X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/f204f1f567d019d4f5472180fe7aca2f80688ccb..45fab081438038cba3408426b827e81aa71ea014:/glib/gtype.lisp diff --git a/glib/gtype.lisp b/glib/gtype.lisp index 7f9fd55..88fddcc 100644 --- a/glib/gtype.lisp +++ b/glib/gtype.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: gtype.lisp,v 1.43 2006-02-08 21:53:34 espen Exp $ +;; $Id: gtype.lisp,v 1.44 2006-02-19 19:23:23 espen Exp $ (in-package "GLIB") @@ -374,6 +374,9 @@ ;; A ginstance should never be invalidated since it is ref counted nil) +(defmethod callback-from-alien-form (form (type t) &rest args) + (apply #'from-alien-form form type args)) + (defmethod copy-from-alien-form (location (class ginstance-class) &rest args) (declare (ignore location class args)) (error "Doing copy-from-alien on a ref. counted class is most certainly an error, but if it really is what you want you should use REFERENCE-FOREIGN on the returned instance instead."))