geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
#include "general.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_TRASH_BOX(PTR, PROC) trashBoxPut(NULL,PTR,(TrashBoxDestroyItemProc)PROC) |
#define | DEFAULT_TRASH_BOX_TAKE_BACK(PTR) trashBoxTakeBack(NULL,PTR) |
#define | PARSER_TRASH_BOX(PTR, PROC) parserTrashBoxPut(PTR,(TrashBoxDestroyItemProc)PROC) |
#define | PARSER_TRASH_BOX_TAKE_BACK(PTR) parserTrashBoxTakeBack(PTR) |
Typedefs | |
typedef void(* | TrashBoxDestroyItemProc) (void *) |
typedef struct sTrashBox | TrashBox |
Functions | |
TrashBox * | trashBoxNew (void) |
TrashBox * | trashBoxStack (TrashBox *trash_box) |
void | trashBoxDelete (TrashBox *trash_box) |
void * | trashBoxPut (TrashBox *trash_box, void *item, TrashBoxDestroyItemProc destroy) |
TrashBoxDestroyItemProc | trashBoxTakeBack (TrashBox *trash_box, void *item) |
void | trashBoxFree (TrashBox *trash_box, void *item) |
void | trashBoxMakeEmpty (TrashBox *trash_box) |
void * | parserTrashBoxPut (void *item, TrashBoxDestroyItemProc destroy) |
TrashBoxDestroyItemProc | parserTrashBoxTakeBack (void *item) |
#define DEFAULT_TRASH_BOX | ( | PTR, | |
PROC | |||
) | trashBoxPut(NULL,PTR,(TrashBoxDestroyItemProc)PROC) |
Definition at line 34 of file trashbox.h.
#define DEFAULT_TRASH_BOX_TAKE_BACK | ( | PTR | ) | trashBoxTakeBack(NULL,PTR) |
Definition at line 35 of file trashbox.h.
#define PARSER_TRASH_BOX | ( | PTR, | |
PROC | |||
) | parserTrashBoxPut(PTR,(TrashBoxDestroyItemProc)PROC) |
Definition at line 37 of file trashbox.h.
#define PARSER_TRASH_BOX_TAKE_BACK | ( | PTR | ) | parserTrashBoxTakeBack(PTR) |
Definition at line 38 of file trashbox.h.
Definition at line 28 of file trashbox.h.
typedef void(* TrashBoxDestroyItemProc) (void *) |
Definition at line 27 of file trashbox.h.
void * parserTrashBoxPut | ( | void * | item, |
TrashBoxDestroyItemProc | destroy | ||
) |
Definition at line 191 of file trashbox.c.
References parserTrashBox, and trashBoxPut().
TrashBoxDestroyItemProc parserTrashBoxTakeBack | ( | void * | item | ) |
Definition at line 196 of file trashbox.c.
References parserTrashBox, and trashBoxTakeBack().
void trashBoxDelete | ( | TrashBox * | trash_box | ) |
Definition at line 55 of file trashbox.c.
References defaultTrashBox, eFree(), and trashBoxMakeEmpty().
Referenced by finiDefaultTrashBox(), finiParserTrashBox(), matchTagPattern(), and trashBoxStack().
void trashBoxFree | ( | TrashBox * | trash_box, |
void * | item | ||
) |
Definition at line 94 of file trashbox.c.
References defaultTrashBox, and trashBoxTakeBack().
void trashBoxMakeEmpty | ( | TrashBox * | trash_box | ) |
Definition at line 85 of file trashbox.c.
References defaultTrashBox, sTrashBox::trash, and trashMakeEmpty().
Referenced by matchTagPattern(), and trashBoxDelete().
TrashBox * trashBoxNew | ( | void | ) |
Definition at line 36 of file trashbox.c.
References NULL, sTrashBox::trash, and xMalloc.
Referenced by initDefaultTrashBox(), initParserTrashBox(), matchTagPattern(), and trashBoxStack().
void * trashBoxPut | ( | TrashBox * | trash_box, |
void * | item, | ||
TrashBoxDestroyItemProc | destroy | ||
) |
Definition at line 65 of file trashbox.c.
References defaultTrashBox, sTrashBox::trash, and trashPut().
Referenced by matchTagPattern(), parserTrashBoxPut(), and trashBoxStack().
Definition at line 43 of file trashbox.c.
References defaultTrashBox, trashBoxDelete(), trashBoxNew(), and trashBoxPut().
TrashBoxDestroyItemProc trashBoxTakeBack | ( | TrashBox * | trash_box, |
void * | item | ||
) |
Definition at line 74 of file trashbox.c.
References defaultTrashBox, sTrashBox::trash, and trashTakeBack().
Referenced by parserTrashBoxTakeBack(), and trashBoxFree().