#include "Object.h"#include <stdarg.h>#include <stddef.h>#include <stdio.h>#include <assert.h>#include <stdint.h>#include "../error/error.c"#include "../msg.c"#include "./stack.c"#include <stdlib.h>#include "../error/error.h"Functions | |
| struct Object * | ctor (struct Object *self, nps_error_t *err, va_list *app) |
| int | dtor (struct Object *self, nps_error_t *error) |
| struct Object * | Object_ctor (struct Object *o, nps_error_t *err, va_list *app) |
| int | Object_dtor (struct Object *o, nps_error_t *error) |
| int | Class_dtor (struct Object *o, nps_error_t *error) |
| struct Object * | Class_ctor (struct Object *o, nps_error_t *err, va_list *app) |
| int | _nps_del (void *v, nps_error_t *error) |
| void | nps_retain (struct Object *o) |
| int | nps_release (struct Object *o, nps_error_t *error) |
| struct Object * | nps_new (const struct Class *class, nps_error_t *nps_err,...) |
| struct Object * | nps_cast (const struct Class *to, struct Object *val) |
| void | nps_initObject () |
| int | nps_releaseClasses (nps_error_t *error) |
Variables | |
| nps_stack_t * | _nps_class_stack |
| struct Class | Object [] |
| struct Class | Class [] |
| int _nps_del | ( | void * | v, | |
| nps_error_t * | error | |||
| ) |
| struct Object* Class_ctor | ( | struct Object * | o, | |
| nps_error_t * | err, | |||
| va_list * | app | |||
| ) | [read] |
| int Class_dtor | ( | struct Object * | o, | |
| nps_error_t * | error | |||
| ) |
| struct Object* ctor | ( | struct Object * | self, | |
| nps_error_t * | err, | |||
| va_list * | app | |||
| ) | [read] |
| int dtor | ( | struct Object * | self, | |
| nps_error_t * | error | |||
| ) |
| void nps_initObject | ( | ) |
| struct Object* nps_new | ( | const struct Class * | class, | |
| nps_error_t * | nps_err, | |||
| ... | ||||
| ) | [read] |
| int nps_release | ( | struct Object * | o, | |
| nps_error_t * | error | |||
| ) |
| int nps_releaseClasses | ( | nps_error_t * | error | ) |
| void nps_retain | ( | struct Object * | o | ) |
| struct Object* Object_ctor | ( | struct Object * | o, | |
| nps_error_t * | err, | |||
| va_list * | app | |||
| ) | [read] |
| int Object_dtor | ( | struct Object * | o, | |
| nps_error_t * | error | |||
| ) |
{{
{&Class[0],1},
Object,
sizeof(struct Class),
"Class",
Class_ctor,
Class_dtor
}}
{{
{&Class[0],1},
Class,
sizeof(struct Object),
"Object",
Object_ctor,
Object_dtor
}}
1.6.3