cppbind: Fix SGPath from_nasal_helper

This commit is contained in:
Thomas Geymayer
2013-02-28 23:46:55 +01:00
parent e20cc6a90f
commit 0def045611
+2 -1
View File
@@ -56,7 +56,8 @@ namespace nasal
return std::string(naStr_data(na_str), naStr_len(na_str));
}
SGPath from_nasal_helper(naContext c, naRef ref, SGPath*)
//----------------------------------------------------------------------------
SGPath from_nasal_helper(naContext c, naRef ref, const SGPath*)
{
naRef na_str = naStringValue(c, ref);
return SGPath(std::string(naStr_data(na_str), naStr_len(na_str)));