Mercurial > hg > xemacs-beta
comparison modules/postgresql/postgresql.h @ 5118:e0db3c197671 ben-lisp-object
merge up to latest default branch, doesn't compile yet
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 26 Dec 2009 21:18:49 -0600 |
parents | 6ef4efc5cfe0 |
children | d1247f3cc363 |
comparison
equal
deleted
inserted
replaced
5117:3742ea8250b5 | 5118:e0db3c197671 |
---|---|
1 /* | 1 /* |
2 postgresql.h -- Emacs Lisp binding to libpq.so | 2 postgresql.h -- Emacs Lisp binding to libpq.so |
3 Copyright (C) 2000 Electrotechnical Laboratory, JAPAN. | 3 Copyright (C) 2000 Electrotechnical Laboratory, JAPAN. |
4 Licensed to the Free Software Foundation. | 4 Licensed to the Free Software Foundation. |
5 | 5 |
6 Author: SL Baur <steve@beopen.com> | 6 Author: SL Baur <steve@xemacs.org> |
7 Maintainer: SL Baur <steve@beopen.com> | 7 Maintainer: SL Baur <steve@xemacs.org> |
8 | 8 |
9 Please send patches to this file to me first before submitting them to | 9 Please send patches to this file to me first before submitting them to |
10 xemacs-patches. | 10 xemacs-patches. |
11 */ | 11 */ |
12 | 12 |
31 struct LCRECORD_HEADER header; | 31 struct LCRECORD_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_LRECORD (pgconn, Lisp_PGconn); | 36 DECLARE_LISP_OBJECT (pgconn, Lisp_PGconn); |
37 | 37 |
38 #define XPGCONN(x) XRECORD (x, pgconn, Lisp_PGconn) | 38 #define XPGCONN(x) XRECORD (x, pgconn, Lisp_PGconn) |
39 #define wrap_pgconn(p) wrap_record (p, pgconn) | 39 #define wrap_pgconn(p) wrap_record (p, pgconn) |
40 #define PGCONNP(x) RECORDP (x, pgconn) | 40 #define PGCONNP(x) RECORDP (x, pgconn) |
41 #define CHECK_PGCONN(x) CHECK_RECORD (x, pgconn) | 41 #define CHECK_PGCONN(x) CHECK_RECORD (x, pgconn) |
51 struct LCRECORD_HEADER header; | 51 struct LCRECORD_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_LRECORD (pgresult, Lisp_PGresult); | 56 DECLARE_LISP_OBJECT (pgresult, Lisp_PGresult); |
57 | 57 |
58 #define XPGRESULT(x) XRECORD (x, pgresult, Lisp_PGresult) | 58 #define XPGRESULT(x) XRECORD (x, pgresult, Lisp_PGresult) |
59 #define wrap_pgresult(p) wrap_record (p, pgresult) | 59 #define wrap_pgresult(p) wrap_record (p, pgresult) |
60 #define PGRESULTP(x) RECORDP (x, pgresult) | 60 #define PGRESULTP(x) RECORDP (x, pgresult) |
61 #define CHECK_PGRESULT(x) CHECK_RECORD (x, pgresult) | 61 #define CHECK_PGRESULT(x) CHECK_RECORD (x, pgresult) |