X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/fc09e191754e82d26723b7c6cbf3bfc24fedbf44..01e3faf9aaf5674955083ae7b190fcc84d35afbd:/src/c-types-proto.lisp diff --git a/src/c-types-proto.lisp b/src/c-types-proto.lisp index 7134962..a13be4c 100644 --- a/src/c-types-proto.lisp +++ b/src/c-types-proto.lisp @@ -7,7 +7,7 @@ ;;;----- Licensing notice --------------------------------------------------- ;;; -;;; This file is part of the Sensble Object Design, an object system for C. +;;; This file is part of the Sensible Object Design, an object system for C. ;;; ;;; SOD is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by @@ -243,9 +243,9 @@ &aux (%type type))) (:predicate argumentp)) "Simple structure representing a function argument." - name - %type) -(define-access-wrapper argument-type argument-%type) + (name nil :type t :read-only t) + (%type nil :type c-type :read-only t)) +(define-access-wrapper argument-type argument-%type :read-only t) (export 'commentify-argument-name) (defgeneric commentify-argument-name (name)