Mercurial > hg > xemacs-beta
diff modules/postgresql/postgresql.c @ 5141:0dcd22290039
fix issues with finalizers in number.c, postgresql, ldap
-------------------- ChangeLog entries follow: --------------------
modules/ChangeLog addition:
2010-03-07 Ben Wing <ben@xemacs.org>
* postgresql/postgresql.c (finalize_pgconn):
* postgresql/postgresql.c (finalize_pgresult):
* ldap/eldap.c (finalize_ldap):
Fix the finalizers to go with the new calling sequence. Done
previously but somehow got lost.
src/ChangeLog addition:
2010-03-07 Ben Wing <ben@xemacs.org>
* number.c (bignum_finalize):
* number.c (ratio_finalize):
* number.c (bigfloat_finalize):
Fix the finalizers to go with the new calling sequence. Done
previously but somehow got lost.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 07 Mar 2010 19:26:04 -0600 |
parents | a9c41067dd88 |
children | f965e31a35f0 |
line wrap: on
line diff
--- a/modules/postgresql/postgresql.c Sun Mar 07 06:52:32 2010 -0600 +++ b/modules/postgresql/postgresql.c Sun Mar 07 19:26:04 2010 -0600 @@ -295,9 +295,9 @@ #else /* not RUNNING_XEMACS_21_4 */ static void -finalize_pgconn (void *header) +finalize_pgconn (Lisp_Object obj) { - Lisp_PGconn *pgconn = (Lisp_PGconn *)header; + Lisp_PGconn *pgconn = XPGCONN (obj); if (pgconn->pgconn) { @@ -447,9 +447,9 @@ #else /* not RUNNING_XEMACS_21_4 */ static void -finalize_pgresult (void *header) +finalize_pgresult (Lisp_Object obj) { - Lisp_PGresult *pgresult = (Lisp_PGresult *)header; + Lisp_PGresult *pgresult = XPGRESULT (obj); if (pgresult->pgresult) {