X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/a7d19b2a6d3e11b28842476b80ef68d81fb6b8ac..42e68ad2e0b1de35c307ac170d8e3c993baed6ac:/glib/gtype.lisp diff --git a/glib/gtype.lisp b/glib/gtype.lisp index d4a4921..bcbb75a 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.47 2006-02-26 15:30:01 espen Exp $ +;; $Id: gtype.lisp,v 1.48 2006-02-26 16:12:25 espen Exp $ (in-package "GLIB") @@ -30,7 +30,7 @@ (defbinding type-init () nil) (type-init) -(deftype type-number () '(unsigned 32)) +(deftype type-number () 'unsigned-long) (deftype gtype () 'symbol) @@ -197,7 +197,8 @@ (unwind-protect (loop as symbol = (let ((line (read-line (process-output process) nil))) - (when line (subseq line 11))) + (when line + (subseq line (1+ (position #\Space line :from-end t))))) while symbol when (and (> (length symbol) 9)