1
Fork 0
Motiejus Jakštys 2022-02-05 16:28:20 +02:00
parent 0cc6ce2a5b
commit 8d110a392a
1 changed files with 5 additions and 2 deletions

View File

@ -1,12 +1,15 @@
package main
// #define _FILE_OFFSET_BITS 64
// #include <unistd.h>
// #include <fcntl.h>
// #include <stdio.h>
// char* hello() { return "hello, world"; }
// void printhello() { printf("%s\n", hello()); }
// void phello() { printf("%s, your lucky number is %p\n", hello(), fcntl); }
import "C"
func main() {
C.printhello()
C.phello()
}
func Chello() string {