|
GDB (API)
|
#include "obstack.h"Go to the source code of this file.
Defines | |
| #define | OBSTACK_ZALLOC(OBSTACK, TYPE) (memset (obstack_alloc ((OBSTACK), sizeof (TYPE)), 0, sizeof (TYPE))) |
| #define | OBSTACK_CALLOC(OBSTACK, NUMBER, TYPE) |
| #define | obstack_chunk_alloc xmalloc |
| #define | obstack_chunk_free xfree |
| #define | obstack_grow_str(OBSTACK, STRING) obstack_grow (OBSTACK, STRING, strlen (STRING)) |
| #define | obstack_grow_str0(OBSTACK, STRING) obstack_grow0 (OBSTACK, STRING, strlen (STRING)) |
| #define | obstack_grow_wstr(OBSTACK, WSTRING) obstack_grow (OBSTACK, WSTRING, sizeof (gdb_wchar_t) * gdb_wcslen (WSTRING)) |
Functions | |
| char * | obconcat (struct obstack *obstackp,...) ATTRIBUTE_SENTINEL |
| #define OBSTACK_CALLOC | ( | OBSTACK, | |
| NUMBER, | |||
| TYPE | |||
| ) |
(memset (obstack_alloc ((OBSTACK), (NUMBER) * sizeof (TYPE)), \ 0, (NUMBER) * sizeof (TYPE)))
Definition at line 30 of file gdb_obstack.h.
| #define obstack_chunk_alloc xmalloc |
Definition at line 43 of file gdb_obstack.h.
| #define obstack_chunk_free xfree |
Definition at line 44 of file gdb_obstack.h.
| #define obstack_grow_str | ( | OBSTACK, | |
| STRING | |||
| ) | obstack_grow (OBSTACK, STRING, strlen (STRING)) |
Definition at line 46 of file gdb_obstack.h.
| #define obstack_grow_str0 | ( | OBSTACK, | |
| STRING | |||
| ) | obstack_grow0 (OBSTACK, STRING, strlen (STRING)) |
Definition at line 48 of file gdb_obstack.h.
| #define obstack_grow_wstr | ( | OBSTACK, | |
| WSTRING | |||
| ) | obstack_grow (OBSTACK, WSTRING, sizeof (gdb_wchar_t) * gdb_wcslen (WSTRING)) |
Definition at line 51 of file gdb_obstack.h.
| #define OBSTACK_ZALLOC | ( | OBSTACK, | |
| TYPE | |||
| ) | (memset (obstack_alloc ((OBSTACK), sizeof (TYPE)), 0, sizeof (TYPE))) |
Definition at line 27 of file gdb_obstack.h.
| char* obconcat | ( | struct obstack * | obstackp, |
| ... | |||
| ) |
Definition at line 29 of file gdb_obstack.c.
1.7.6.1