Choco OS
V.0.16.9.0
Join to the chocolate world
|
The file with helper macros for managing objects. More...
Go to the source code of this file.
Macros | |
#define | oC_OBJECTS_REGISTRATIONS_LIST(ADD_OBJECT) |
list of object registrations More... | |
#define | oC_ObjectId_(Name) oC_1WORD_FROM_2(oC_ObjectId_ , Name) |
returns name of the object id created for the object | |
Typedefs | |
typedef uint32_t | oC_ObjectControl_t |
stores object control value More... | |
Enumerations |
Functions | |
static oC_ObjectControl_t | oC_CountObjectControl (void *ObjectPointer, oC_ObjectId_t ObjectId) |
counts object control for object More... | |
static oC_ObjectId_t | oC_GetObjectId (oC_ObjectControl_t ObjectControl) |
returns id of object More... | |
static bool | oC_CheckObjectControl (void *ObjectPointer, oC_ObjectId_t ObjectId, oC_ObjectControl_t ObjectControl) |
checks if object control is correct More... | |
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 2 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_object.h.