Re: ERRATUM
Espen S Johnsen <[email protected]> 06 May 2007 23:55:46 +0200
| Newsgroups | gmane.lisp.clg.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: > I have tried to run your example but I have next problem > > (setf some-region (make-instance 'gdk:region :rectangle #(0 0 100 100))) > (gdk:region-union some-region #(0 0 100 100)) > > The value #<GDK:REGION at 0x814EBB0> is not of type SYSTEM-AREA-POINTER. > [Condition of type TYPE-ERROR] Can post a stack trace when this happens? > What I note is that there are to ways to define a region as one instance > or as a pointer (using (gdk::region-new)). Which is the best way ? Do you mean %region-new, which is an internal function in the gdk package and should not be used by applications? The correct way to create objects in clg is to use make-instance. -- Espen ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/