예제 #1
0
파일: glfw.go 프로젝트: jasonrpowers/glfw3
//GetVersionString returns a static string generated at compile-time according
//to which configuration macros were defined. This is intended for use when
//submitting bug reports, to allow developers to see which code paths are
//enabled in a binary.
//
//This function may be called before Init.
func GetVersionString() string {
	return C.GoString(C.glfwGetVersionString())
}
예제 #2
0
파일: glfw.go 프로젝트: maun/glfw
func VersionString() string {
	cs := C.glfwGetVersionString()
	return C.GoString(cs)
}