Mercurial > hg > xemacs-beta
view modules/postgresql/postgresql.h @ 5175:dc94bf0afa37
rearrange stuff in obsolete.el
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-02-22 Ben Wing <ben@xemacs.org>
* obsolete.el:
* obsolete.el ('show-buffer): New.
* obsolete.el ('buffer-flush-undo): New.
* obsolete.el (buffer-local-value): New.
* obsolete.el (Info-default-directory-list): Removed.
* obsolete.el (x-color-values): New.
* obsolete.el (mswindows-color-list):
* obsolete.el (init-file-user): Removed.
* obsolete.el ('pui-add-install-directory): Removed.
* obsolete.el (line-beginning-position):
* obsolete.el ('line-beginning-position): New.
* obsolete.el ('line-end-position): New.
* obsolete.el (obsolete-throw): New.
* obsolete.el ('cl-mapc): New.
* obsolete.el ('byte-code-function-p): New.
* obsolete.el ('interactive-form): New.
* obsolete.el ('assq-delete-all): New.
* obsolete.el (makehash): New.
* obsolete.el ('user-original-login-name): Removed.
* obsolete.el ('isearch-yank-x-selection): Removed.
* obsolete.el ('isearch-yank-x-clipboard): Removed.
* obsolete.el ('display-column-mode): New.
Rearrange; create some new categories out of "misc" stuff,
put categories in alphabetical order, move remaning "misc"
stuff to bottom.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 22 Feb 2010 06:43:21 -0600 |
parents | 6ef4efc5cfe0 |
children | e0db3c197671 |
line wrap: on
line source
/* postgresql.h -- Emacs Lisp binding to libpq.so Copyright (C) 2000 Electrotechnical Laboratory, JAPAN. Licensed to the Free Software Foundation. Author: SL Baur <steve@xemacs.org> Maintainer: SL Baur <steve@xemacs.org> Please send patches to this file to me first before submitting them to xemacs-patches. */ #ifndef INCLUDED_postgresql_h_ #define INCLUDED_postgresql_h_ 1 #define message message_ /* Yuck */ #include LIBPQ_FE_H_FILE /* main PostgreSQL header file */ #undef message #define BLCKSZ 8192 /* size of a default Postgres disk block */ /* This file contains the GCC bug workaround code for the private LRECORD types. */ /* PGconn is an opaque object and we need to be able to store them in Lisp code because libpq supports multiple connections. */ struct Lisp_PGconn { struct LCRECORD_HEADER header; PGconn *pgconn; }; typedef struct Lisp_PGconn Lisp_PGconn; DECLARE_LRECORD (pgconn, Lisp_PGconn); #define XPGCONN(x) XRECORD (x, pgconn, Lisp_PGconn) #define wrap_pgconn(p) wrap_record (p, pgconn) #define PGCONNP(x) RECORDP (x, pgconn) #define CHECK_PGCONN(x) CHECK_RECORD (x, pgconn) #define CONCHECK_PGCONN(x) CONCHECK_RECORD (x, pgconn) /****/ /* PGresult is an opaque object and we need to be able to store them in Lisp code. */ struct Lisp_PGresult { struct LCRECORD_HEADER header; PGresult *pgresult; }; typedef struct Lisp_PGresult Lisp_PGresult; DECLARE_LRECORD (pgresult, Lisp_PGresult); #define XPGRESULT(x) XRECORD (x, pgresult, Lisp_PGresult) #define wrap_pgresult(p) wrap_record (p, pgresult) #define PGRESULTP(x) RECORDP (x, pgresult) #define CHECK_PGRESULT(x) CHECK_RECORD (x, pgresult) #define CONCHECK_PGRESULT(x) CONCHECK_RECORD (x, pgresult) #endif /* INCLUDED_postgresql_h_ */