// LibwasmvmVersion returns the version of the loaded library
// at runtime. This can be used for debugging to verify the loaded version
// matches the expected version.
LibwasmvmVersion returns the version of the loaded library
at runtime. This can be used for debugging to verify the loaded version
matches the expected version.
// LibwasmvmVersion returns the version of the loaded library // at runtime . This can be used for debugging to verify the loaded version // matches the expected version .
func LibwasmvmVersion() (string, error) {
	version_ptr, err := C.version_str()
	if err != nil {
		return "", err
	}
	version_copy := C.GoString(version_ptr)
	return version_copy, nil
}
func LibwasmvmVersion ( ) ( string , error ) { version_ptr , err := C . version_str ( ) if err != nil { return " " , err } version_copy := C . GoString ( version_ptr ) return version_copy , nil }
LibwasmvmVersion returns the version of the loaded library
at runtime.
LibwasmvmVersion returns the version of the loaded library at runtime .
// For C.GoString documentation see https://pkg.go.dev/cmd/cgo and // https://gist.github.com/helinwang/2c7bd2867ea5110f70e6431a7c80cd9b