Mercurial > hg > xemacs-beta
comparison modules/postgresql/postgresql.h @ 5120:d1247f3cc363 ben-lisp-object
latest work on lisp-object workspace;
more changes eliminating LCRECORD in place of LISP_OBJECT;
now compiles and runs.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 28 Dec 2009 01:15:52 -0600 |
parents | e0db3c197671 |
children | a9c41067dd88 |
comparison
equal
deleted
inserted
replaced
5119:d877c14318b3 | 5120:d1247f3cc363 |
---|---|
26 /* PGconn is an opaque object and we need to be able to store them in | 26 /* PGconn is an opaque object and we need to be able to store them in |
27 Lisp code because libpq supports multiple connections. | 27 Lisp code because libpq supports multiple connections. |
28 */ | 28 */ |
29 struct Lisp_PGconn | 29 struct Lisp_PGconn |
30 { | 30 { |
31 struct LCRECORD_HEADER header; | 31 LISP_OBJECT_HEADER header; |
32 PGconn *pgconn; | 32 PGconn *pgconn; |
33 }; | 33 }; |
34 typedef struct Lisp_PGconn Lisp_PGconn; | 34 typedef struct Lisp_PGconn Lisp_PGconn; |
35 | 35 |
36 DECLARE_LISP_OBJECT (pgconn, Lisp_PGconn); | 36 DECLARE_LISP_OBJECT (pgconn, Lisp_PGconn); |
46 /* PGresult is an opaque object and we need to be able to store them in | 46 /* PGresult is an opaque object and we need to be able to store them in |
47 Lisp code. | 47 Lisp code. |
48 */ | 48 */ |
49 struct Lisp_PGresult | 49 struct Lisp_PGresult |
50 { | 50 { |
51 struct LCRECORD_HEADER header; | 51 LISP_OBJECT_HEADER header; |
52 PGresult *pgresult; | 52 PGresult *pgresult; |
53 }; | 53 }; |
54 typedef struct Lisp_PGresult Lisp_PGresult; | 54 typedef struct Lisp_PGresult Lisp_PGresult; |
55 | 55 |
56 DECLARE_LISP_OBJECT (pgresult, Lisp_PGresult); | 56 DECLARE_LISP_OBJECT (pgresult, Lisp_PGresult); |