Mercurial > hg > xemacs-beta
annotate src/vdb.h @ 5583:10f179710250
Deprecate #'remassoc, #'remassq, #'remrassoc, #'remrassq.
src/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* fns.c (remassoc_no_quit):
* fns.c (remrassq_no_quit):
* fns.c (syms_of_fns):
* fontcolor-tty.c (Fregister_tty_color):
* fontcolor-tty.c (Funregister_tty_color):
* fontcolor-tty.c (Ffind_tty_color):
* lisp.h:
Remove Fremassq, Fremrassq, Fremassoc, Fremrassoc, they're
XEmacs-specific functions and Lisp callers should use (delete*
... :key #'car) anyway. Keep the non-Lisp-visible _no_quit
versions, calling FdeleteX from C with the appropriate arguments
is ungainly.
lisp/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* obsolete.el:
* obsolete.el (assq-delete-all):
* packages.el (package-provide):
* packages.el (package-suppress):
* mule/cyrillic.el ("Cyrillic-KOI8"):
* mule/cyrillic.el (koi8-u):
* mule/general-late.el (posix-charset-to-coding-system-hash):
* mule/latin.el:
* mule/latin.el (for):
* cl-extra.el:
* cl-extra.el (cl-extra):
* loadup.el (load-history):
Change any uses of #'remassq, #'remassoc and friends to calling
#'delete* with an appropriate key argument. Provide compatibility
implementations, mark them obsolete.
man/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* lispref/lists.texi (Association Lists):
Don't document #'remassoc, #'remassq and friends in detail;
they're XEmacs-specific and (delete* ... :key #'car) is
preferable.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 09 Oct 2011 12:55:51 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
3092 | 1 /* Virtual diry bit implementation for XEmacs. |
2 Copyright (C) 2005 Marcus Crestani. | |
3 | |
4 This file is part of XEmacs. | |
5 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3092
diff
changeset
|
6 XEmacs is free software: you can redistribute it and/or modify it |
3092 | 7 under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3092
diff
changeset
|
8 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3092
diff
changeset
|
9 option) any later version. |
3092 | 10 |
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
3092
diff
changeset
|
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
3092 | 18 |
19 /* Synched up with: Not in FSF. */ | |
20 | |
21 #include "lisp.h" | |
22 | |
23 #ifndef INCLUDED_vdb_h_ | |
24 #define INCLUDED_vdb_h_ | |
25 | |
26 | |
27 /*--- prototypes -------------------------------------------------------*/ | |
28 | |
29 BEGIN_C_DECLS | |
30 | |
31 /* Platform dependent signal handling: */ | |
32 | |
33 /* Install the platform-dependent signal handler. */ | |
34 void vdb_install_signal_handler (void); | |
35 | |
36 /* Platform dependent memory protection. */ | |
37 void vdb_protect (void *ptr, EMACS_INT len); | |
38 void vdb_unprotect (void *ptr, EMACS_INT len); | |
39 | |
40 | |
41 | |
42 /* Common (platform independent) virtual diry bit stuff: */ | |
43 | |
44 /* Start the write barrier. This function is called when a garbage | |
45 collection is suspendend and the client is resumed. */ | |
46 void vdb_start_dirty_bits_recording (void); | |
47 /* Stop the write barrier. This function is called when the client is | |
48 suspendend and garbage collection is resumed. */ | |
49 void vdb_stop_dirty_bits_recording (void); | |
50 | |
51 /* Record page faults: Add the object pointed to by addr to the write | |
52 barrer's internal data structure that stores modified objects. | |
53 This function is called by the write barrier's fault handler. */ | |
54 void vdb_designate_modified (void *addr); | |
55 | |
56 /* Propagate page faults to garbage collector: Read out the write | |
57 barrier's internal data structure that stores modified objects and | |
58 pass the information to the garbage collector. This function is | |
59 called by vdb_stop_dirty_bits_recording(). Return how many objects | |
60 have to be re-examined by the garbage collector. */ | |
61 int vdb_read_dirty_bits (void); | |
62 | |
63 /* Provides Lisp functions for testing vdb implementation. */ | |
64 void syms_of_vdb (void); | |
65 | |
66 END_C_DECLS | |
67 | |
68 #endif /* INCLUDED_vdb_h_ */ |