Browse Source

Merge pull request #253 from rsredsq/RED-HAXE-EXTERNFIX

No inline in haxe externs, just a small fix
JoshEngebretson 10 years ago
parent
commit
bbad6b12a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/ToolCore/JSBind/JSBHaxe.cpp

+ 1 - 1
Source/ToolCore/JSBind/JSBHaxe.cpp

@@ -372,7 +372,7 @@ namespace ToolCore
         {
             const String& cname = constantsName.At(i);
 
-            source_ += "    public static inline var " + cname + ": " + GetPrimitiveType(constants[cname]) + ";\n";
+            source_ += "    public static var " + cname + ": " + GetPrimitiveType(constants[cname]) + ";\n";
         }
 
         source_ += "\n";