Commits

Anonymous committed c70219f

preliminary support for goinstallable-cgo pkgs

  • Participants
  • Parent commits 3c01b81
  • Tags release

Comments (0)

Files changed (1)

 // TODO:
 //  implement a go-oriented command completion
 
-// #include <stdio.h>
-// #include <stdlib.h>
-// #include <readline/readline.h>
-// #include <readline/history.h>
+/*
+ #cgo LDFLAGS: -lreadline
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <readline/readline.h>
+ #include <readline/history.h>
+ */
 import "C"
 import "unsafe"
 import "os"