taskrambler
v0.1.8
Web server and task management solution.
|
#include <stdarg.h>
#include <stdlib.h>
#include <assert.h>
#include "class/class.h"
#include "class/interface/class.h"
#include "utils/memory.h"
Go to the source code of this file.
Functions | |
void * | classNewParams (class_ptr class, va_list *params) |
void * | classNew (class_ptr class,...) |
void | classDelete (void **object) |
void * | classClone (void *_object) |
Variables | |
const struct interface | i_Class |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file i_class.c.
void* classClone | ( | void * | _object | ) |
Definition at line 85 of file i_class.c.
References CALL, clone, memCalloc(), and class_ptr::object_size.
void classDelete | ( | void ** | object | ) |
Definition at line 71 of file i_class.c.
References CALL, and MEM_FREE.
Referenced by classNewParams().
void* classNew | ( | class_ptr | class, |
... | |||
) |
Definition at line 58 of file i_class.c.
References classNewParams().
void* classNewParams | ( | class_ptr | , |
va_list * | |||
) |
With this one we can create a new instance via a intermidiary that gets the arguments.
Definition at line 40 of file i_class.c.
References classDelete(), memCalloc(), class_ptr::object_size, and RETCALL.
Referenced by classNew().