45 static APR_INLINE
void mpf_object_init(
mpf_object_t *
object,
const char *name)
48 object->destroy = NULL;
49 object->process = NULL;
54 static APR_INLINE
void mpf_object_destroy(
mpf_object_t *
object)
57 object->destroy(
object);
61 static APR_INLINE
void mpf_object_process(
mpf_object_t *
object)
64 object->process(
object);
68 static APR_INLINE
void mpf_object_trace(
mpf_object_t *
object)
71 object->trace(
object);
apt_bool_t(* destroy)(mpf_object_t *object)
Definition: mpf_object.h:37
#define APT_END_EXTERN_C
Definition: apt.h:38
int apt_bool_t
Definition: apt.h:57
void(* trace)(mpf_object_t *object)
Definition: mpf_object.h:41
apt_bool_t(* process)(mpf_object_t *object)
Definition: mpf_object.h:39
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
Definition: mpf_object.h:33
const char * name
Definition: mpf_object.h:35