mirror of https://gitlab.com/ita1024/waf.git
16 lines
204 B
C
16 lines
204 B
C
|
/* simple C library to exercize CGO */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include "my-c-lib.h"
|
||
|
|
||
|
void my_c_hello(const char *msg)
|
||
|
{
|
||
|
fprintf(stdout, msg);
|
||
|
}
|
||
|
|
||
|
void my_c_bye(const char *msg)
|
||
|
{
|
||
|
fprintf(stdout, msg);
|
||
|
}
|
||
|
|