working on debuging chemical language string

This commit is contained in:
herbglitch 2025-03-07 14:44:04 -07:00
parent bb3601b8f2
commit 18fc05d3d4
4 changed files with 34 additions and 23 deletions

View file

@ -10,6 +10,11 @@ ARC_TEST(Chemical_BasicTest){
ARC_CHECK(arc_errno == 0);
char *tempCString = "int32 test = 5; ";
ARC_String *tempString;
ARC_String_CreateWithStrlen(&tempString, tempCString);
ARC_Chemical_LoadFromString(chemical, &tempString);
//cleanup
ARC_Chemical_Destroy(chemical);
}