updated math config, added int to standard config, added bool to standard config
This commit is contained in:
parent
ce9e6a1c9a
commit
0dab5f336b
5 changed files with 299 additions and 252 deletions
|
|
@ -6,21 +6,38 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include "arc/std/string.h"
|
||||
|
||||
#include "arc/std/config.h"
|
||||
|
||||
typedef struct ARC_Config ARC_Config;
|
||||
//void ARC_MathConfig_Init(ARC_Config *config);
|
||||
//
|
||||
//uint8_t ARC_Point_Read (ARC_Config *config, ARC_String *string, void **value);
|
||||
//uint8_t ARC_Rect_Read (ARC_Config *config, ARC_String *string, void **value);
|
||||
//uint8_t ARC_RectArray_Read(ARC_Config *config, ARC_String *string, void **value);
|
||||
//
|
||||
//void ARC_Point_Delete (ARC_Config *config, ARC_String *string, void *value);
|
||||
//void ARC_Rect_Delete (ARC_Config *config, ARC_String *string, void *value);
|
||||
//void ARC_RectArray_Delete(ARC_Config *config, ARC_String *string, void *value);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*/
|
||||
void ARC_Config_InitMath(ARC_Config *config);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*/
|
||||
void ARC_ConfigType_PointCopyFn(void **type, ARC_ParserTagToken *parsedData, ARC_Config *config, void *userdata);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*/
|
||||
void ARC_ConfigType_PointDestroyFn(void *type);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*/
|
||||
void ARC_ConfigType_RectCopyFn(void **type, ARC_ParserTagToken *parsedData, ARC_Config *config, void *userdata);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*/
|
||||
void ARC_ConfigType_RectDestroyFn(void *type);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //ARC_MATH_CONFIG_H_
|
||||
#endif //ARC_MATH_CONFIG_H_
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ void ARC_Config_UnloadFromFile(ARC_Config *config, ARC_String *data);
|
|||
/**
|
||||
* @brief TODO: write this
|
||||
*/
|
||||
void ARC_Config_InitStdTypes(ARC_Config *config);
|
||||
void ARC_Config_InitStd(ARC_Config *config);
|
||||
|
||||
/**
|
||||
* @brief
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue