X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/7fa3e6120bb9b6beed3f71b3f57f6a71d7e2ccbb..a4bcc2d76633a6c9de24a4500396a7345aa86b93:/glib/glib.lisp diff --git a/glib/glib.lisp b/glib/glib.lisp index 2ab6fa4..88d960e 100644 --- a/glib/glib.lisp +++ b/glib/glib.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: glib.lisp,v 1.37 2006/04/25 21:51:32 espen Exp $ +;; $Id: glib.lisp,v 1.38 2006/06/08 13:24:25 espen Exp $ (in-package "GLIB") @@ -167,6 +167,9 @@ (define-type-method size-of ((type glist) &key inlined) (assert-not-inlined type inlined) (size-of 'pointer)) +(define-type-method type-alignment ((type glist) &key inlined) + (assert-not-inlined type inlined) + (type-alignment 'pointer)) (define-type-method alien-arg-wrapper ((type glist) var list style form &optional copy-in-p) (destructuring-bind (element-type) (rest (type-expand-to 'glist type)) @@ -317,6 +320,10 @@ (define-type-method size-of ((type gslist) &key inlined) (assert-not-inlined type inlined) (size-of 'pointer)) +(define-type-method type-alignment ((type gslist) &key inlined) + (assert-not-inlined type inlined) + (type-alignment 'pointer)) + (define-type-method alien-arg-wrapper ((type gslist) var list style form &optional copy-in-p) (destructuring-bind (element-type) (rest (type-expand-to 'gslist type)) (cond