14 lines
No EOL
262 B
C
14 lines
No EOL
262 B
C
#include <stdio.h>
|
|
#include "usedByC.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
GoInt x = 12;
|
|
GoInt y = 23;
|
|
|
|
printf("About to call a Go function!\n");
|
|
PrintMessage();
|
|
GoInt p = Multiply(x,y);
|
|
printf("Product: %d\n",(int)p);
|
|
printf("It worked!\n");
|
|
return 0;
|
|
} |