فهرست منبع

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("");