Skip to content
Browse files

Add an atos function

  • Loading branch information...
1 parent eb5c5a2 commit 4dab753241106530dfa957c0e66dcfa53f0a86e4 @sa1 sa1 committed Sep 10, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/Git2/Common.winxed
View
5 src/Git2/Common.winxed
@@ -20,6 +20,11 @@ function cstring(string s) {
return str_to_cstring(getinterp(), s);
}
+function atos(var x) {
+ var cstring_to_str = dlfunc(null, 'Parrot_str_new', 'Sppi');
+ return cstring_to_str(getinterp(), x, 0);
+}
+
namespace Git2 {
class Branch {

0 comments on commit 4dab753

Please sign in to comment.
Something went wrong with that request. Please try again.