diff options
| author | zlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 05:16:55 +0000 |
|---|---|---|
| committer | zlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 05:16:55 +0000 |
| commit | a5f52a4548046ea51b00bd465af7d6e7b90c9ad3 (patch) | |
| tree | 29d4dc1fdfe78b727f24ca1dd297d829aa75218f /libjava/gnu/java/text/BaseBreakIterator.java | |
| parent | 4d2aa485d66d731a3726186c5be15f869b5895f9 (diff) | |
| download | ppe42-gcc-a5f52a4548046ea51b00bd465af7d6e7b90c9ad3.tar.gz ppe42-gcc-a5f52a4548046ea51b00bd465af7d6e7b90c9ad3.zip | |
* alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
(struct alloc_pool_def): New element 'id'.
* alloc-pool.c (fancy_abort): Extern function prototype.
(abort): Macro which uses fancy_abort.
(struct allocation_object_def): New structure.
(ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
(USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
(last_id): New variable.
(create_alloc_pool): Add the offset of u.data to size of element,
increase and use last_id.
(free_alloc_pool): Do the checking only when ENABLE_CHECKING.
(pool_alloc): Likewise. Set ID for elements.
(pool_free): Check whether the PTR was allocated from POOL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/text/BaseBreakIterator.java')
0 files changed, 0 insertions, 0 deletions

