Data Structures | |
struct | gib_buffer_data_s |
struct | gib_class_s |
struct | gib_classdesc_s |
struct | gib_buffer_data_s::gib_sstack_s::gib_dsarray_s |
struct | gib_event_s |
struct | gib_message_s |
struct | gib_method_s |
struct | gib_methodtab_s |
struct | gib_object_s |
struct | gib_script_s |
struct | gib_signal_s |
struct | gib_slot_s |
struct | gib_buffer_data_s::gib_sstack_s |
Macros | |
#define | GIB_Argc() (cbuf_active->args->argc) |
#define | GIB_Argd(x) ((x) < cbuf_active->args->argc ? cbuf_active->args->argv[(x)] : NULL) |
#define | GIB_Argm(x) ((x) < cbuf_active->args->argc ? (gib_tree_t *)cbuf_active->args->argm[(x)] : NULL) |
#define | GIB_Args(x) ((x) < cbuf_active->args->argc ? cbuf_active->args->args[(x)] : gib_null_string) |
#define | GIB_Argv(x) ((x) < cbuf_active->args->argc ? cbuf_active->args->argv[(x)]->str : gib_null_string) |
#define | GIB_CanReturn() (GIB_DATA(cbuf_active)->waitret) |
#define | GIB_DATA(buffer) ((gib_buffer_data_t *)(buffer->data)) |
#define | GIB_ForwardToSuper(mesg, obj, method) |
#define | GIB_USAGE(x) (GIB_Error ("SyntaxError", "%s: invalid syntax\nusage: %s %s", GIB_Argv(0), GIB_Argv(0), (x))) |
Typedefs | |
typedef struct gib_buffer_data_s | gib_buffer_data_t |
typedef struct gib_class_s | gib_class_t |
typedef struct gib_classdesc_s | gib_classdesc_t |
typedef struct gib_event_s | gib_event_t |
typedef int(* | gib_message_handler )(gib_object_t *obj, gib_method_t *method, void *data, gib_object_t *sender, gib_message_t message) |
typedef struct gib_message_s | gib_message_t |
typedef struct gib_method_s | gib_method_t |
typedef struct gib_methodtab_s | gib_methodtab_t |
typedef void *(* | gib_obj_constructor )(gib_object_t *obj) |
typedef void(* | gib_obj_destructor )(void *data) |
typedef struct gib_object_s | gib_object_t |
typedef void(* | gib_reply_handler )(int argc, const char **argv, void *data) |
typedef struct gib_script_s | gib_script_t |
typedef struct gib_signal_s | gib_signal_t |
typedef struct gib_slot_s | gib_slot_t |
Variables | |
char *const | gib_null_string |
#define GIB_Argc | ( | ) | (cbuf_active->args->argc) |
#define GIB_Argd | ( | x | ) | ((x) < cbuf_active->args->argc ? cbuf_active->args->argv[(x)] : NULL) |
#define GIB_Argm | ( | x | ) | ((x) < cbuf_active->args->argc ? (gib_tree_t *)cbuf_active->args->argm[(x)] : NULL) |
#define GIB_Args | ( | x | ) | ((x) < cbuf_active->args->argc ? cbuf_active->args->args[(x)] : gib_null_string) |
#define GIB_Argv | ( | x | ) | ((x) < cbuf_active->args->argc ? cbuf_active->args->argv[(x)]->str : gib_null_string) |
#define GIB_CanReturn | ( | ) | (GIB_DATA(cbuf_active)->waitret) |
#define GIB_DATA | ( | buffer | ) | ((gib_buffer_data_t *)(buffer->data)) |
#define GIB_ForwardToSuper | ( | mesg, | |
obj, | |||
method | |||
) |
#define GIB_USAGE | ( | x | ) | (GIB_Error ("SyntaxError", "%s: invalid syntax\nusage: %s %s", GIB_Argv(0), GIB_Argv(0), (x))) |
typedef struct gib_buffer_data_s gib_buffer_data_t |
typedef struct gib_class_s gib_class_t |
typedef struct gib_classdesc_s gib_classdesc_t |
typedef struct gib_event_s gib_event_t |
typedef int(* gib_message_handler)(gib_object_t *obj, gib_method_t *method, void *data, gib_object_t *sender, gib_message_t message) |
typedef struct gib_message_s gib_message_t |
typedef struct gib_method_s gib_method_t |
typedef struct gib_methodtab_s gib_methodtab_t |
typedef void*(* gib_obj_constructor)(gib_object_t *obj) |
typedef void(* gib_obj_destructor)(void *data) |
typedef struct gib_object_s gib_object_t |
typedef struct gib_script_s gib_script_t |
typedef struct gib_signal_s gib_signal_t |
typedef struct gib_slot_s gib_slot_t |
void GIB_Builtin_Add | ( | const char * | name, |
void(*)(void) | func | ||
) |
void GIB_Builtin_Remove | ( | const char * | name | ) |
void GIB_Class_Create | ( | gib_classdesc_t * | desc | ) |
void GIB_Event_Callback | ( | gib_event_t * | event, |
unsigned int | argc, | ||
... | |||
) |
gib_event_t* GIB_Event_New | ( | const char * | name | ) |
void GIB_Handle_Free | ( | unsigned long int | num | ) |
gib_object_t* GIB_Handle_Get | ( | unsigned long int | num | ) |
unsigned long int GIB_Handle_New | ( | gib_object_t * | data | ) |
void GIB_Init | ( | qboolean | sandbox | ) |
cbuf_interpreter_t* GIB_Interpreter | ( | void | ) |
gib_object_t* GIB_Object_Create | ( | const char * | classname, |
qboolean | classobj | ||
) |
void GIB_Object_Decref | ( | gib_object_t * | obj | ) |
void GIB_Object_Destroy | ( | gib_object_t * | obj | ) |
gib_object_t* GIB_Object_Get | ( | const char * | id | ) |
void GIB_Object_Incref | ( | gib_object_t * | obj | ) |
void GIB_Object_Init | ( | void | ) |
void GIB_Object_Signal_Emit | ( | gib_object_t * | sender, |
int | argc, | ||
const char ** | argv | ||
) |
void GIB_Object_Signal_Slot_Destroy | ( | gib_object_t * | sender, |
const char * | signal, | ||
gib_object_t * | receiver, | ||
const char * | slot | ||
) |
void GIB_Object_Signal_Slot_Pair | ( | gib_object_t * | sender, |
const char * | signal, | ||
gib_object_t * | receiver, | ||
const char * | slot | ||
) |
void GIB_Reply | ( | gib_object_t * | obj, |
gib_message_t | mesg, | ||
int | argc, | ||
const char ** | argv | ||
) |
int GIB_Send | ( | gib_object_t * | obj, |
gib_object_t * | sender, | ||
int | argc, | ||
const char ** | argv, | ||
gib_reply_handler | reply, | ||
void * | replydata | ||
) |
int GIB_SendToMethod | ( | gib_object_t * | obj, |
gib_method_t * | method, | ||
gib_object_t * | sender, | ||
int | argc, | ||
const char ** | argv, | ||
gib_reply_handler | reply, | ||
void * | replydata | ||
) |
unsigned int GIB_Thread_Count | ( | void | ) |
void GIB_Thread_Execute | ( | void | ) |
char* const gib_null_string |