Choco OS
V.0.16.9.0
Join to the chocolate world
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
oc_struct.h
Go to the documentation of this file.
1
28
#ifndef SYSTEM_LIBRARIES_INC_OC_STRUCT_H_
29
#define SYSTEM_LIBRARIES_INC_OC_STRUCT_H_
30
31
#include <string.h>
32
#include <
oc_math.h
>
33
34
#define oC_AreEqual(S1,S2) ( memcmp(&S1,&S2, oC_MIN(sizeof(S1),sizeof(S2))) == 0 )
35
#define oC_Struct_Copy(S1,S2) memcpy(&S1,&S2,oC_MIN(sizeof(S1),sizeof(S2)))
36
#define oC_Struct_Initialize(S,Value) memset(&S,Value,sizeof(S))
37
38
#endif
/* SYSTEM_LIBRARIES_INC_OC_STRUCT_H_ */
oc_math.h
Basic math operations.
Source
system
libraries
inc
oc_struct.h
Generated on Fri Oct 20 2017 19:56:09 for Choco OS by
1.8.11