ソースを参照

Add cpp.Lib.setFloatFormat

Hugh 10 年 前
コミット
c8ae675d09
1 ファイル変更5 行追加0 行削除
  1. 5 0
      std/cpp/Lib.hx

+ 5 - 0
std/cpp/Lib.hx

@@ -149,6 +149,11 @@ class Lib {
    }
    #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)
    {
       var parts = inSig.split("");