Browse Source

Add cpp.Lib.setFloatFormat

Hugh 10 years ago
parent
commit
c8ae675d09
1 changed files with 5 additions and 0 deletions
  1. 5 0
      std/cpp/Lib.hx

+ 5 - 0
std/cpp/Lib.hx

@@ -149,6 +149,11 @@ class Lib {
    }
    }
    #end
    #end
 
 
+   public static function setFloatFormat(inFormat:String):Void
+   {
+      untyped __global__.__hxcpp_set_float_format(inFormat);
+   }
+
    public static macro function loadPrime(inModule:String, inName:String, inSig:String,inAllowFail:Bool = false)
    public static macro function loadPrime(inModule:String, inName:String, inSig:String,inAllowFail:Bool = false)
    {
    {
       var parts = inSig.split("");
       var parts = inSig.split("");