|
@@ -25,12 +25,15 @@ |
|
|
#include "cucul.h" |
|
|
#include "cucul.h" |
|
|
|
|
|
|
|
|
#define STRING \ |
|
|
#define STRING \ |
|
|
" _,----._ \n" \ |
|
|
|
|
|
" (/ @ @ \\) \n" \ |
|
|
|
|
|
" | OO | \n" \ |
|
|
|
|
|
" \\ `--' / \n" \ |
|
|
|
|
|
" `----' \n" \ |
|
|
|
|
|
"Hello world!\n" |
|
|
|
|
|
|
|
|
" \n" \ |
|
|
|
|
|
" _,----._ \n" \ |
|
|
|
|
|
" (/ @ @ \\) \n" \ |
|
|
|
|
|
" | OO | \n" \ |
|
|
|
|
|
" \\ `--' / \n" \ |
|
|
|
|
|
" `----' \n" \ |
|
|
|
|
|
" \n" \ |
|
|
|
|
|
" Hello world! \n" \ |
|
|
|
|
|
" \n" |
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) |
|
|
int main(int argc, char *argv[]) |
|
|
{ |
|
|
{ |
|
@@ -65,6 +68,11 @@ int main(int argc, char *argv[]) |
|
|
fwrite(buffer, len, 1, stdout); |
|
|
fwrite(buffer, len, 1, stdout); |
|
|
free(buffer); |
|
|
free(buffer); |
|
|
|
|
|
|
|
|
|
|
|
cucul_left(cv); |
|
|
|
|
|
buffer = cucul_export_memory(cv, "utf8", &len); |
|
|
|
|
|
fwrite(buffer, len, 1, stdout); |
|
|
|
|
|
free(buffer); |
|
|
|
|
|
|
|
|
cucul_free_canvas(pig); |
|
|
cucul_free_canvas(pig); |
|
|
cucul_free_canvas(cv); |
|
|
cucul_free_canvas(cv); |
|
|
|
|
|
|
|
|