test: object: add simple string test
This commit is contained in:
11
object-test/simple.c
Normal file
11
object-test/simple.c
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#include <blue/object/string.h>
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
b_string *string = B_CSTR("Hello, world!");
|
||||||
|
printf("string object = ");
|
||||||
|
b_object_to_string(string, b_stdout);
|
||||||
|
printf("\n");
|
||||||
|
b_release(string);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user