fixed compiling for no backend selected

This commit is contained in:
herbglitch 2025-03-27 23:43:17 -06:00
parent 4c980d8690
commit fc48793109
6 changed files with 79 additions and 28 deletions

View file

@ -9,8 +9,7 @@ extern "C" {
#include "arc/std/parser.h"
/**
* @brief the config type for archeus, loads in a config file which syntax is specified in the documentation
* @TODO: add documentation link here
* @brief the config type for archeus, loads in a .chemical file which syntax is specified in the documentation
*/
typedef struct ARC_Config ARC_Config;
@ -169,17 +168,30 @@ void *ARC_Config_Get(ARC_Config *config, ARC_String *name);
void *ARC_Config_GetWithCStr(ARC_Config *config, const char *name);
/**
* @brief TODO: write this
* @brief takes a given string and loads it into the config
*
* @breif config the config to load the string to
* @breif string the string to load into the config
*/
void ARC_Config_LoadFromString(ARC_Config *config, ARC_String **string);
/**
* @brief TODO: write this
* @brief takes a given file path and loads it into the config
*
* @note this path will be based on wherever the executable is run from
*
* @breif config the config to load the file to
* @breif path the location of the .chemical file to load
*/
void ARC_Config_LoadFromFile(ARC_Config *config, ARC_String *path);
/**
* @brief TODO: write this
* @brief takes a given file path and loads it into the config
*
* @note this path will be based on wherever the executable is run from
*
* @breif config the config to load the file to
* @breif path the location of the .chemical file to load
*/
void ARC_Config_LoadFromFileWithCStr(ARC_Config *config, const char *path);