Commits

dacc  committed 7029a65

did the syntax for referencing c type change? i needed to do this to get things working in go release.2010-07-29

  • Participants
  • Parent commits 1637d92
  • Tags 0.1.1

Comments (0)

Files changed (1)

 import "unsafe"
 
 func ReadLine(prompt *string) *string {
-	var p *_C_char;
+	var p *C.char;
 
 	//readline allows an empty prompt(NULL)
 	if prompt != nil { p = C.CString(*prompt) }