Exemplo n.º 1
0
//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())
}
Exemplo n.º 2
0
Arquivo: glfw.go Projeto: maun/glfw
func VersionString() string {
	cs := C.glfwGetVersionString()
	return C.GoString(cs)
}