design_pattern_for_c
V 1.00
|
This is API for PrototypeFactoryInstance class. More...
#include "prototype.h"
Go to the source code of this file.
Typedefs | |
typedef struct prototype_factory_instance_t | prototype_factory_instance_t |
typedef struct prototype_factory_instance_t * | PrototypeFactoryInstance |
Functions | |
PrototypeFactoryInstance | prototype_factory_instance_new (void *base, size_t base_length, prototype_factory_method_t *factory_method) |
new More... | |
void | prototype_factory_instance_free (PrototypeFactoryInstance this) |
free More... | |
void * | prototype_factory_instance_clone_data (PrototypeFactoryInstance this) |
clone data More... | |
void | prototype_factory_instance_free_data (PrototypeFactoryInstance this, void *data) |
free data More... | |
This is API for PrototypeFactoryInstance class.
Definition in file prototype_factory.h.
typedef struct prototype_factory_instance_t prototype_factory_instance_t |
Definition at line 11 of file prototype_factory.h.
typedef struct prototype_factory_instance_t * PrototypeFactoryInstance |
Definition at line 11 of file prototype_factory.h.
void* prototype_factory_instance_clone_data | ( | PrototypeFactoryInstance | this | ) |
clone data
Definition at line 77 of file prototype_factory.c.
void prototype_factory_instance_free | ( | PrototypeFactoryInstance | this | ) |
void prototype_factory_instance_free_data | ( | PrototypeFactoryInstance | this, |
void * | data | ||
) |
free data
Definition at line 82 of file prototype_factory.c.
PrototypeFactoryInstance prototype_factory_instance_new | ( | void * | base, |
size_t | base_length, | ||
prototype_factory_method_t * | factory_method | ||
) |