Exemple #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())
}
Exemple #2
0
func VersionString() string {
	cs := C.glfwGetVersionString()
	return C.GoString(cs)
}