Add helper function for retrieving libmutton version

This commit is contained in:
2026-02-04 22:02:04 -05:00
parent aa716c59d2
commit 688532193f
3 changed files with 10 additions and 1 deletions
+7 -1
View File
@@ -65,4 +65,10 @@ func GetVanityPath(realPath *C.char) C.PascalString {
return getPascalString(global.GetVanityPath(C.GoString(realPath)))
}
func main() {}
// GetVersion returns:
// versionNumber
//
//export GetVersion
func GetVersion() *C.char {
return C.CString(global.LibmuttonVersion)
}