瀏覽代碼

[c] Fix formatting generated by codgen.

Mario Zechner 2 月之前
父節點
當前提交
8503ae00d3
共有 76 個文件被更改,包括 501 次插入541 次删除
  1. 174 214
      spine-c/codegen/spine-cpp-types.json
  2. 4 4
      spine-c/codegen/src/types.ts
  3. 2 2
      spine-c/src/generated/animation.cpp
  4. 2 2
      spine-c/src/generated/animation.h
  5. 2 2
      spine-c/src/generated/animation_state.cpp
  6. 2 2
      spine-c/src/generated/animation_state.h
  7. 1 1
      spine-c/src/generated/animation_state_data.cpp
  8. 1 1
      spine-c/src/generated/animation_state_data.h
  9. 1 1
      spine-c/src/generated/atlas.cpp
  10. 1 1
      spine-c/src/generated/atlas.h
  11. 7 7
      spine-c/src/generated/atlas_attachment_loader.cpp
  12. 7 7
      spine-c/src/generated/atlas_attachment_loader.h
  13. 5 5
      spine-c/src/generated/atlas_page.cpp
  14. 5 5
      spine-c/src/generated/atlas_page.h
  15. 71 39
      spine-c/src/generated/atlas_region.cpp
  16. 19 11
      spine-c/src/generated/atlas_region.h
  17. 1 1
      spine-c/src/generated/attachment.cpp
  18. 1 1
      spine-c/src/generated/attachment.h
  19. 6 6
      spine-c/src/generated/attachment_loader.cpp
  20. 6 6
      spine-c/src/generated/attachment_loader.h
  21. 1 1
      spine-c/src/generated/attachment_timeline.cpp
  22. 1 1
      spine-c/src/generated/attachment_timeline.h
  23. 4 4
      spine-c/src/generated/bone_data.cpp
  24. 4 4
      spine-c/src/generated/bone_data.h
  25. 4 4
      spine-c/src/generated/bone_pose.cpp
  26. 4 4
      spine-c/src/generated/bone_pose.h
  27. 2 2
      spine-c/src/generated/bounding_box_attachment.cpp
  28. 2 2
      spine-c/src/generated/bounding_box_attachment.h
  29. 2 2
      spine-c/src/generated/clipping_attachment.cpp
  30. 2 2
      spine-c/src/generated/clipping_attachment.h
  31. 1 1
      spine-c/src/generated/constraint_data.cpp
  32. 1 1
      spine-c/src/generated/constraint_data.h
  33. 2 2
      spine-c/src/generated/event.cpp
  34. 2 2
      spine-c/src/generated/event.h
  35. 6 6
      spine-c/src/generated/event_data.cpp
  36. 6 6
      spine-c/src/generated/event_data.h
  37. 2 2
      spine-c/src/generated/ik_constraint_data.cpp
  38. 2 2
      spine-c/src/generated/ik_constraint_data.h
  39. 2 2
      spine-c/src/generated/linked_mesh.cpp
  40. 2 2
      spine-c/src/generated/linked_mesh.h
  41. 4 4
      spine-c/src/generated/mesh_attachment.cpp
  42. 4 4
      spine-c/src/generated/mesh_attachment.h
  43. 2 2
      spine-c/src/generated/path_attachment.cpp
  44. 2 2
      spine-c/src/generated/path_attachment.h
  45. 2 2
      spine-c/src/generated/path_constraint_data.cpp
  46. 2 2
      spine-c/src/generated/path_constraint_data.h
  47. 2 2
      spine-c/src/generated/physics_constraint_data.cpp
  48. 2 2
      spine-c/src/generated/physics_constraint_data.h
  49. 3 3
      spine-c/src/generated/point_attachment.cpp
  50. 3 3
      spine-c/src/generated/point_attachment.h
  51. 2 2
      spine-c/src/generated/posed_data.cpp
  52. 2 2
      spine-c/src/generated/posed_data.h
  53. 4 4
      spine-c/src/generated/region_attachment.cpp
  54. 4 4
      spine-c/src/generated/region_attachment.h
  55. 2 2
      spine-c/src/generated/sequence.cpp
  56. 1 1
      spine-c/src/generated/sequence.h
  57. 8 8
      spine-c/src/generated/skeleton.cpp
  58. 8 8
      spine-c/src/generated/skeleton.h
  59. 2 2
      spine-c/src/generated/skeleton_binary.cpp
  60. 2 2
      spine-c/src/generated/skeleton_binary.h
  61. 15 15
      spine-c/src/generated/skeleton_data.cpp
  62. 15 15
      spine-c/src/generated/skeleton_data.h
  63. 2 2
      spine-c/src/generated/skeleton_json.cpp
  64. 2 2
      spine-c/src/generated/skeleton_json.h
  65. 5 5
      spine-c/src/generated/skin.cpp
  66. 5 5
      spine-c/src/generated/skin.h
  67. 2 2
      spine-c/src/generated/slider_data.cpp
  68. 2 2
      spine-c/src/generated/slider_data.h
  69. 4 4
      spine-c/src/generated/slot_data.cpp
  70. 4 4
      spine-c/src/generated/slot_data.h
  71. 6 38
      spine-c/src/generated/texture_region.cpp
  72. 2 10
      spine-c/src/generated/texture_region.h
  73. 2 2
      spine-c/src/generated/transform_constraint_data.cpp
  74. 2 2
      spine-c/src/generated/transform_constraint_data.h
  75. 1 1
      spine-c/src/generated/vertex_attachment.cpp
  76. 1 1
      spine-c/src/generated/vertex_attachment.h

+ 174 - 214
spine-c/codegen/spine-cpp-types.json

@@ -1884,7 +1884,7 @@
         }
       ],
       "loc": {
-        "line": 41,
+        "line": 43,
         "col": 7
       }
     },
@@ -1918,7 +1918,7 @@
         }
       ],
       "loc": {
-        "line": 65,
+        "line": 67,
         "col": 7
       }
     },
@@ -1937,7 +1937,7 @@
         }
       ],
       "loc": {
-        "line": 77,
+        "line": 79,
         "col": 7
       }
     },
@@ -1945,7 +1945,7 @@
       "name": "AtlasPage",
       "kind": "class",
       "loc": {
-        "line": 83,
+        "line": 85,
         "col": 15
       },
       "superTypes": [
@@ -2043,13 +2043,23 @@
       "name": "AtlasRegion",
       "kind": "class",
       "loc": {
-        "line": 109,
+        "line": 111,
         "col": 15
       },
       "superTypes": [
         "TextureRegion"
       ],
       "members": [
+        {
+          "kind": "method",
+          "name": "getRTTI",
+          "returnType": "const RTTI &",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": true,
+          "isPure": false,
+          "isConst": false
+        },
         {
           "kind": "constructor",
           "name": "AtlasRegion",
@@ -2111,6 +2121,86 @@
           "isPure": false,
           "isConst": false
         },
+        {
+          "kind": "method",
+          "name": "getOffsetX",
+          "returnType": "float",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
+        {
+          "kind": "method",
+          "name": "getOffsetY",
+          "returnType": "float",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
+        {
+          "kind": "method",
+          "name": "getPackedWidth",
+          "returnType": "int",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
+        {
+          "kind": "method",
+          "name": "getPackedHeight",
+          "returnType": "int",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
+        {
+          "kind": "method",
+          "name": "getOriginalWidth",
+          "returnType": "int",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
+        {
+          "kind": "method",
+          "name": "getOriginalHeight",
+          "returnType": "int",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
+        {
+          "kind": "method",
+          "name": "getRotate",
+          "returnType": "bool",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
+        {
+          "kind": "method",
+          "name": "getDegrees",
+          "returnType": "int",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": false,
+          "isPure": false,
+          "isConst": false
+        },
         {
           "kind": "method",
           "name": "getSplits",
@@ -2228,12 +2318,12 @@
         },
         {
           "kind": "method",
-          "name": "setSplits",
+          "name": "setOffsetX",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "const Array<int> &"
+              "type": "float"
             }
           ],
           "isStatic": false,
@@ -2243,12 +2333,12 @@
         },
         {
           "kind": "method",
-          "name": "setPads",
+          "name": "setOffsetY",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "const Array<int> &"
+              "type": "float"
             }
           ],
           "isStatic": false,
@@ -2258,12 +2348,12 @@
         },
         {
           "kind": "method",
-          "name": "setNames",
+          "name": "setPackedWidth",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "const Array<String> &"
+              "type": "int"
             }
           ],
           "isStatic": false,
@@ -2273,12 +2363,12 @@
         },
         {
           "kind": "method",
-          "name": "setValues",
+          "name": "setPackedHeight",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "const Array<float> &"
+              "type": "int"
             }
           ],
           "isStatic": false,
@@ -2288,142 +2378,127 @@
         },
         {
           "kind": "method",
-          "name": "getU",
-          "returnType": "float",
-          "parameters": [],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
-        },
-        {
-          "kind": "method",
-          "name": "setU",
+          "name": "setOriginalWidth",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "float"
+              "type": "int"
             }
           ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
-        },
-        {
-          "kind": "method",
-          "name": "getV",
-          "returnType": "float",
-          "parameters": [],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "setV",
+          "name": "setOriginalHeight",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "float"
+              "type": "int"
             }
           ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "getU2",
-          "returnType": "float",
-          "parameters": [],
+          "name": "setRotate",
+          "returnType": "void",
+          "parameters": [
+            {
+              "name": "value",
+              "type": "bool"
+            }
+          ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "setU2",
+          "name": "setDegrees",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "float"
+              "type": "int"
             }
           ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "getV2",
-          "returnType": "float",
-          "parameters": [],
+          "name": "setSplits",
+          "returnType": "void",
+          "parameters": [
+            {
+              "name": "value",
+              "type": "const Array<int> &"
+            }
+          ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "setV2",
+          "name": "setPads",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "float"
+              "type": "const Array<int> &"
             }
           ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "getDegrees",
-          "returnType": "int",
-          "parameters": [],
+          "name": "setNames",
+          "returnType": "void",
+          "parameters": [
+            {
+              "name": "value",
+              "type": "const Array<String> &"
+            }
+          ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "setDegrees",
+          "name": "setValues",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "int"
+              "type": "const Array<float> &"
             }
           ],
           "isStatic": false,
           "isVirtual": false,
           "isPure": false,
-          "isConst": false,
-          "fromSupertype": "TextureRegion"
+          "isConst": false
         },
         {
           "kind": "method",
-          "name": "getOffsetX",
+          "name": "getU",
           "returnType": "float",
           "parameters": [],
           "isStatic": false,
@@ -2434,7 +2509,7 @@
         },
         {
           "kind": "method",
-          "name": "setOffsetX",
+          "name": "setU",
           "returnType": "void",
           "parameters": [
             {
@@ -2450,7 +2525,7 @@
         },
         {
           "kind": "method",
-          "name": "getOffsetY",
+          "name": "getV",
           "returnType": "float",
           "parameters": [],
           "isStatic": false,
@@ -2461,7 +2536,7 @@
         },
         {
           "kind": "method",
-          "name": "setOffsetY",
+          "name": "setV",
           "returnType": "void",
           "parameters": [
             {
@@ -2477,8 +2552,8 @@
         },
         {
           "kind": "method",
-          "name": "getRegionWidth",
-          "returnType": "int",
+          "name": "getU2",
+          "returnType": "float",
           "parameters": [],
           "isStatic": false,
           "isVirtual": false,
@@ -2488,12 +2563,12 @@
         },
         {
           "kind": "method",
-          "name": "setRegionWidth",
+          "name": "setU2",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "int"
+              "type": "float"
             }
           ],
           "isStatic": false,
@@ -2504,8 +2579,8 @@
         },
         {
           "kind": "method",
-          "name": "getRegionHeight",
-          "returnType": "int",
+          "name": "getV2",
+          "returnType": "float",
           "parameters": [],
           "isStatic": false,
           "isVirtual": false,
@@ -2515,12 +2590,12 @@
         },
         {
           "kind": "method",
-          "name": "setRegionHeight",
+          "name": "setV2",
           "returnType": "void",
           "parameters": [
             {
               "name": "value",
-              "type": "int"
+              "type": "float"
             }
           ],
           "isStatic": false,
@@ -2531,7 +2606,7 @@
         },
         {
           "kind": "method",
-          "name": "getOriginalWidth",
+          "name": "getRegionWidth",
           "returnType": "int",
           "parameters": [],
           "isStatic": false,
@@ -2542,7 +2617,7 @@
         },
         {
           "kind": "method",
-          "name": "setOriginalWidth",
+          "name": "setRegionWidth",
           "returnType": "void",
           "parameters": [
             {
@@ -2558,7 +2633,7 @@
         },
         {
           "kind": "method",
-          "name": "getOriginalHeight",
+          "name": "getRegionHeight",
           "returnType": "int",
           "parameters": [],
           "isStatic": false,
@@ -2569,7 +2644,7 @@
         },
         {
           "kind": "method",
-          "name": "setOriginalHeight",
+          "name": "setRegionHeight",
           "returnType": "void",
           "parameters": [
             {
@@ -2592,7 +2667,7 @@
       "name": "Atlas",
       "kind": "class",
       "loc": {
-        "line": 146,
+        "line": 175,
         "col": 15
       },
       "superTypes": [
@@ -23512,7 +23587,7 @@
       "name": "RegionAttachment",
       "kind": "class",
       "loc": {
-        "line": 48,
+        "line": 46,
         "col": 15
       },
       "superTypes": [
@@ -32584,13 +32659,23 @@
       "name": "TextureRegion",
       "kind": "class",
       "loc": {
-        "line": 36,
+        "line": 37,
         "col": 15
       },
       "superTypes": [
         "SpineObject"
       ],
       "members": [
+        {
+          "kind": "method",
+          "name": "getRTTI",
+          "returnType": "const RTTI &",
+          "parameters": [],
+          "isStatic": false,
+          "isVirtual": true,
+          "isPure": false,
+          "isConst": false
+        },
         {
           "kind": "constructor",
           "name": "TextureRegion",
@@ -32702,81 +32787,6 @@
           "isPure": false,
           "isConst": false
         },
-        {
-          "kind": "method",
-          "name": "getDegrees",
-          "returnType": "int",
-          "parameters": [],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "setDegrees",
-          "returnType": "void",
-          "parameters": [
-            {
-              "name": "value",
-              "type": "int"
-            }
-          ],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "getOffsetX",
-          "returnType": "float",
-          "parameters": [],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "setOffsetX",
-          "returnType": "void",
-          "parameters": [
-            {
-              "name": "value",
-              "type": "float"
-            }
-          ],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "getOffsetY",
-          "returnType": "float",
-          "parameters": [],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "setOffsetY",
-          "returnType": "void",
-          "parameters": [
-            {
-              "name": "value",
-              "type": "float"
-            }
-          ],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
         {
           "kind": "method",
           "name": "getRegionWidth",
@@ -32826,56 +32836,6 @@
           "isVirtual": false,
           "isPure": false,
           "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "getOriginalWidth",
-          "returnType": "int",
-          "parameters": [],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "setOriginalWidth",
-          "returnType": "void",
-          "parameters": [
-            {
-              "name": "value",
-              "type": "int"
-            }
-          ],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "getOriginalHeight",
-          "returnType": "int",
-          "parameters": [],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
-        },
-        {
-          "kind": "method",
-          "name": "setOriginalHeight",
-          "returnType": "void",
-          "parameters": [
-            {
-              "name": "value",
-              "type": "int"
-            }
-          ],
-          "isStatic": false,
-          "isVirtual": false,
-          "isPure": false,
-          "isConst": false
         }
       ],
       "isAbstract": false,

+ 4 - 4
spine-c/codegen/src/types.ts

@@ -193,7 +193,7 @@ export function toCTypeName(cppType: string, knownTypeNames: Set<string>): strin
     // Special type: String
     if (normalizedType === 'String' || normalizedType === 'const String' ||
         normalizedType === 'String&' || normalizedType === 'const String&') {
-        return 'const char*';
+        return 'const char *';
     }
 
     // Special Type: PropertyId is a typedef
@@ -232,9 +232,9 @@ export function toCTypeName(cppType: string, knownTypeNames: Set<string>): strin
     if (pointerMatch) {
         const baseType = pointerMatch[1].trim();
 
-        // Primitive pointers stay as-is
+        // Primitive pointers stay as-is, but ensure space before *
         if (isPrimitive(baseType)) {
-            return normalizedType;
+            return `${baseType} *`;
         }
 
         // Class pointers become opaque types
@@ -250,7 +250,7 @@ export function toCTypeName(cppType: string, knownTypeNames: Set<string>): strin
 
         // Non-const references to primitives become pointers (output parameters)
         if (!isConst && isPrimitive(baseType)) {
-            return `${baseType}*`;
+            return `${baseType} *`;
         }
 
         // Const references and class references - recurse without the reference

+ 2 - 2
spine-c/src/generated/animation.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_animation spine_animation_create(const char* name, spine_array_timeline timelines, float duration) {
+spine_animation spine_animation_create(const char * name, spine_array_timeline timelines, float duration) {
     return (spine_animation) new (__FILE__, __LINE__) Animation(String(name), *((Array<Timeline *>*)timelines), duration);
 }
 
@@ -35,7 +35,7 @@ void spine_animation_apply(spine_animation self, spine_skeleton skeleton, float
     ((Animation*)self)->apply(*((Skeleton*)skeleton), lastTime, time, loop, (Array<Event *> *)pEvents, alpha, (MixBlend)blend, (MixDirection)direction, appliedPose);
 }
 
-const char* spine_animation_get_name(spine_animation self) {
+const char * spine_animation_get_name(spine_animation self) {
     return ((Animation*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/animation.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_animation spine_animation_create(const char* name, spine_array_timeline timelines, float duration);
+SPINE_C_API spine_animation spine_animation_create(const char * name, spine_array_timeline timelines, float duration);
 
 SPINE_C_API void spine_animation_dispose(spine_animation self);
 
@@ -18,7 +18,7 @@ SPINE_C_API bool spine_animation_has_timeline(spine_animation self, spine_array_
 SPINE_C_API float spine_animation_get_duration(spine_animation self);
 SPINE_C_API void spine_animation_set_duration(spine_animation self, float inValue);
 SPINE_C_API void spine_animation_apply(spine_animation self, spine_skeleton skeleton, float lastTime, float time, bool loop, spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose);
-SPINE_C_API const char* spine_animation_get_name(spine_animation self);
+SPINE_C_API const char * spine_animation_get_name(spine_animation self);
 SPINE_C_API spine_array_int spine_animation_get_bones(spine_animation self);
 SPINE_C_API int spine_animation_search_1(spine_array_float values, float target);
 SPINE_C_API int spine_animation_search_2(spine_array_float values, float target, int step);

+ 2 - 2
spine-c/src/generated/animation_state.cpp

@@ -27,7 +27,7 @@ void spine_animation_state_clear_track(spine_animation_state self, size_t trackI
     ((AnimationState*)self)->clearTrack(trackIndex);
 }
 
-spine_track_entry spine_animation_state_set_animation_1(spine_animation_state self, size_t trackIndex, const char* animationName, bool loop) {
+spine_track_entry spine_animation_state_set_animation_1(spine_animation_state self, size_t trackIndex, const char * animationName, bool loop) {
     return (spine_track_entry)((AnimationState*)self)->setAnimation(trackIndex, String(animationName), loop);
 }
 
@@ -35,7 +35,7 @@ spine_track_entry spine_animation_state_set_animation_2(spine_animation_state se
     return (spine_track_entry)((AnimationState*)self)->setAnimation(trackIndex, (Animation *)animation, loop);
 }
 
-spine_track_entry spine_animation_state_add_animation_1(spine_animation_state self, size_t trackIndex, const char* animationName, bool loop, float delay) {
+spine_track_entry spine_animation_state_add_animation_1(spine_animation_state self, size_t trackIndex, const char * animationName, bool loop, float delay) {
     return (spine_track_entry)((AnimationState*)self)->addAnimation(trackIndex, String(animationName), loop, delay);
 }
 

+ 2 - 2
spine-c/src/generated/animation_state.h

@@ -16,9 +16,9 @@ SPINE_C_API void spine_animation_state_update(spine_animation_state self, float
 SPINE_C_API bool spine_animation_state_apply(spine_animation_state self, spine_skeleton skeleton);
 SPINE_C_API void spine_animation_state_clear_tracks(spine_animation_state self);
 SPINE_C_API void spine_animation_state_clear_track(spine_animation_state self, size_t trackIndex);
-SPINE_C_API spine_track_entry spine_animation_state_set_animation_1(spine_animation_state self, size_t trackIndex, const char* animationName, bool loop);
+SPINE_C_API spine_track_entry spine_animation_state_set_animation_1(spine_animation_state self, size_t trackIndex, const char * animationName, bool loop);
 SPINE_C_API spine_track_entry spine_animation_state_set_animation_2(spine_animation_state self, size_t trackIndex, spine_animation animation, bool loop);
-SPINE_C_API spine_track_entry spine_animation_state_add_animation_1(spine_animation_state self, size_t trackIndex, const char* animationName, bool loop, float delay);
+SPINE_C_API spine_track_entry spine_animation_state_add_animation_1(spine_animation_state self, size_t trackIndex, const char * animationName, bool loop, float delay);
 SPINE_C_API spine_track_entry spine_animation_state_add_animation_2(spine_animation_state self, size_t trackIndex, spine_animation animation, bool loop, float delay);
 SPINE_C_API spine_track_entry spine_animation_state_set_empty_animation(spine_animation_state self, size_t trackIndex, float mixDuration);
 SPINE_C_API spine_track_entry spine_animation_state_add_empty_animation(spine_animation_state self, size_t trackIndex, float mixDuration, float delay);

+ 1 - 1
spine-c/src/generated/animation_state_data.cpp

@@ -23,7 +23,7 @@ void spine_animation_state_data_set_default_mix(spine_animation_state_data self,
     ((AnimationStateData*)self)->setDefaultMix(inValue);
 }
 
-void spine_animation_state_data_set_mix_1(spine_animation_state_data self, const char* fromName, const char* toName, float duration) {
+void spine_animation_state_data_set_mix_1(spine_animation_state_data self, const char * fromName, const char * toName, float duration) {
     ((AnimationStateData*)self)->setMix(String(fromName), String(toName), duration);
 }
 

+ 1 - 1
spine-c/src/generated/animation_state_data.h

@@ -15,7 +15,7 @@ SPINE_C_API void spine_animation_state_data_dispose(spine_animation_state_data s
 SPINE_C_API spine_skeleton_data spine_animation_state_data_get_skeleton_data(spine_animation_state_data self);
 SPINE_C_API float spine_animation_state_data_get_default_mix(spine_animation_state_data self);
 SPINE_C_API void spine_animation_state_data_set_default_mix(spine_animation_state_data self, float inValue);
-SPINE_C_API void spine_animation_state_data_set_mix_1(spine_animation_state_data self, const char* fromName, const char* toName, float duration);
+SPINE_C_API void spine_animation_state_data_set_mix_1(spine_animation_state_data self, const char * fromName, const char * toName, float duration);
 SPINE_C_API void spine_animation_state_data_set_mix_2(spine_animation_state_data self, spine_animation from, spine_animation to, float duration);
 SPINE_C_API float spine_animation_state_data_get_mix(spine_animation_state_data self, spine_animation from, spine_animation to);
 SPINE_C_API void spine_animation_state_data_clear(spine_animation_state_data self);

+ 1 - 1
spine-c/src/generated/atlas.cpp

@@ -11,7 +11,7 @@ void spine_atlas_flip_v(spine_atlas self) {
     ((Atlas*)self)->flipV();
 }
 
-spine_atlas_region spine_atlas_find_region(spine_atlas self, const char* name) {
+spine_atlas_region spine_atlas_find_region(spine_atlas self, const char * name) {
     return (spine_atlas_region)((Atlas*)self)->findRegion(String(name));
 }
 

+ 1 - 1
spine-c/src/generated/atlas.h

@@ -11,7 +11,7 @@ extern "C" {
 SPINE_C_API void spine_atlas_dispose(spine_atlas self);
 
 SPINE_C_API void spine_atlas_flip_v(spine_atlas self);
-SPINE_C_API spine_atlas_region spine_atlas_find_region(spine_atlas self, const char* name);
+SPINE_C_API spine_atlas_region spine_atlas_find_region(spine_atlas self, const char * name);
 SPINE_C_API spine_array_atlas_page spine_atlas_get_pages(spine_atlas self);
 SPINE_C_API spine_array_atlas_region spine_atlas_get_regions(spine_atlas self);
 

+ 7 - 7
spine-c/src/generated/atlas_attachment_loader.cpp

@@ -11,30 +11,30 @@ void spine_atlas_attachment_loader_dispose(spine_atlas_attachment_loader self) {
     delete (AtlasAttachmentLoader*)self;
 }
 
-spine_region_attachment spine_atlas_attachment_loader_new_region_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence) {
+spine_region_attachment spine_atlas_attachment_loader_new_region_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence) {
     return (spine_region_attachment)((AtlasAttachmentLoader*)self)->newRegionAttachment(*((Skin*)skin), String(name), String(path), (Sequence *)sequence);
 }
 
-spine_mesh_attachment spine_atlas_attachment_loader_new_mesh_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence) {
+spine_mesh_attachment spine_atlas_attachment_loader_new_mesh_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence) {
     return (spine_mesh_attachment)((AtlasAttachmentLoader*)self)->newMeshAttachment(*((Skin*)skin), String(name), String(path), (Sequence *)sequence);
 }
 
-spine_bounding_box_attachment spine_atlas_attachment_loader_new_bounding_box_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name) {
+spine_bounding_box_attachment spine_atlas_attachment_loader_new_bounding_box_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_bounding_box_attachment)((AtlasAttachmentLoader*)self)->newBoundingBoxAttachment(*((Skin*)skin), String(name));
 }
 
-spine_path_attachment spine_atlas_attachment_loader_new_path_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name) {
+spine_path_attachment spine_atlas_attachment_loader_new_path_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_path_attachment)((AtlasAttachmentLoader*)self)->newPathAttachment(*((Skin*)skin), String(name));
 }
 
-spine_point_attachment spine_atlas_attachment_loader_new_point_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name) {
+spine_point_attachment spine_atlas_attachment_loader_new_point_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_point_attachment)((AtlasAttachmentLoader*)self)->newPointAttachment(*((Skin*)skin), String(name));
 }
 
-spine_clipping_attachment spine_atlas_attachment_loader_new_clipping_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name) {
+spine_clipping_attachment spine_atlas_attachment_loader_new_clipping_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_clipping_attachment)((AtlasAttachmentLoader*)self)->newClippingAttachment(*((Skin*)skin), String(name));
 }
 
-spine_atlas_region spine_atlas_attachment_loader_find_region(spine_atlas_attachment_loader self, const char* name) {
+spine_atlas_region spine_atlas_attachment_loader_find_region(spine_atlas_attachment_loader self, const char * name) {
     return (spine_atlas_region)((AtlasAttachmentLoader*)self)->findRegion(String(name));
 }

+ 7 - 7
spine-c/src/generated/atlas_attachment_loader.h

@@ -12,13 +12,13 @@ SPINE_C_API spine_atlas_attachment_loader spine_atlas_attachment_loader_create(s
 
 SPINE_C_API void spine_atlas_attachment_loader_dispose(spine_atlas_attachment_loader self);
 
-SPINE_C_API spine_region_attachment spine_atlas_attachment_loader_new_region_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence);
-SPINE_C_API spine_mesh_attachment spine_atlas_attachment_loader_new_mesh_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence);
-SPINE_C_API spine_bounding_box_attachment spine_atlas_attachment_loader_new_bounding_box_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name);
-SPINE_C_API spine_path_attachment spine_atlas_attachment_loader_new_path_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name);
-SPINE_C_API spine_point_attachment spine_atlas_attachment_loader_new_point_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name);
-SPINE_C_API spine_clipping_attachment spine_atlas_attachment_loader_new_clipping_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char* name);
-SPINE_C_API spine_atlas_region spine_atlas_attachment_loader_find_region(spine_atlas_attachment_loader self, const char* name);
+SPINE_C_API spine_region_attachment spine_atlas_attachment_loader_new_region_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence);
+SPINE_C_API spine_mesh_attachment spine_atlas_attachment_loader_new_mesh_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence);
+SPINE_C_API spine_bounding_box_attachment spine_atlas_attachment_loader_new_bounding_box_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name);
+SPINE_C_API spine_path_attachment spine_atlas_attachment_loader_new_path_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name);
+SPINE_C_API spine_point_attachment spine_atlas_attachment_loader_new_point_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name);
+SPINE_C_API spine_clipping_attachment spine_atlas_attachment_loader_new_clipping_attachment(spine_atlas_attachment_loader self, spine_skin skin, const char * name);
+SPINE_C_API spine_atlas_region spine_atlas_attachment_loader_find_region(spine_atlas_attachment_loader self, const char * name);
 
 #ifdef __cplusplus
 }

+ 5 - 5
spine-c/src/generated/atlas_page.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_atlas_page spine_atlas_page_create(const char* inName) {
+spine_atlas_page spine_atlas_page_create(const char * inName) {
     return (spine_atlas_page) new (__FILE__, __LINE__) AtlasPage(String(inName));
 }
 
@@ -11,19 +11,19 @@ void spine_atlas_page_dispose(spine_atlas_page self) {
     delete (AtlasPage*)self;
 }
 
-const char* spine_atlas_page_get_name(spine_atlas_page self) {
+const char * spine_atlas_page_get_name(spine_atlas_page self) {
     return ((AtlasPage*)self)->name.buffer();
 }
 
-void spine_atlas_page_set_name(spine_atlas_page self, const char* value) {
+void spine_atlas_page_set_name(spine_atlas_page self, const char * value) {
     ((AtlasPage*)self)->name = String(value);
 }
 
-const char* spine_atlas_page_get_texture_path(spine_atlas_page self) {
+const char * spine_atlas_page_get_texture_path(spine_atlas_page self) {
     return ((AtlasPage*)self)->texturePath.buffer();
 }
 
-void spine_atlas_page_set_texture_path(spine_atlas_page self, const char* value) {
+void spine_atlas_page_set_texture_path(spine_atlas_page self, const char * value) {
     ((AtlasPage*)self)->texturePath = String(value);
 }
 

+ 5 - 5
spine-c/src/generated/atlas_page.h

@@ -8,14 +8,14 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_atlas_page spine_atlas_page_create(const char* inName);
+SPINE_C_API spine_atlas_page spine_atlas_page_create(const char * inName);
 
 SPINE_C_API void spine_atlas_page_dispose(spine_atlas_page self);
 
-SPINE_C_API const char* spine_atlas_page_get_name(spine_atlas_page self);
-SPINE_C_API void spine_atlas_page_set_name(spine_atlas_page self, const char* value);
-SPINE_C_API const char* spine_atlas_page_get_texture_path(spine_atlas_page self);
-SPINE_C_API void spine_atlas_page_set_texture_path(spine_atlas_page self, const char* value);
+SPINE_C_API const char * spine_atlas_page_get_name(spine_atlas_page self);
+SPINE_C_API void spine_atlas_page_set_name(spine_atlas_page self, const char * value);
+SPINE_C_API const char * spine_atlas_page_get_texture_path(spine_atlas_page self);
+SPINE_C_API void spine_atlas_page_set_texture_path(spine_atlas_page self, const char * value);
 SPINE_C_API spine_format spine_atlas_page_get_format(spine_atlas_page self);
 SPINE_C_API void spine_atlas_page_set_format(spine_atlas_page self, spine_format value);
 SPINE_C_API spine_texture_filter spine_atlas_page_get_min_filter(spine_atlas_page self);

+ 71 - 39
spine-c/src/generated/atlas_region.cpp

@@ -11,6 +11,10 @@ void spine_atlas_region_dispose(spine_atlas_region self) {
     delete (AtlasRegion*)self;
 }
 
+spine_rtti spine_atlas_region_get_rtti(spine_atlas_region self) {
+    return (spine_rtti)&((AtlasRegion*)self)->getRTTI();
+}
+
 spine_atlas_page spine_atlas_region_get_page(spine_atlas_region self) {
     return (spine_atlas_page)((AtlasRegion*)self)->getPage();
 }
@@ -27,6 +31,38 @@ int spine_atlas_region_get_y(spine_atlas_region self) {
     return ((AtlasRegion*)self)->getY();
 }
 
+float spine_atlas_region_get_offset_x(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getOffsetX();
+}
+
+float spine_atlas_region_get_offset_y(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getOffsetY();
+}
+
+int spine_atlas_region_get_packed_width(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getPackedWidth();
+}
+
+int spine_atlas_region_get_packed_height(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getPackedHeight();
+}
+
+int spine_atlas_region_get_original_width(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getOriginalWidth();
+}
+
+int spine_atlas_region_get_original_height(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getOriginalHeight();
+}
+
+bool spine_atlas_region_get_rotate(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getRotate();
+}
+
+int spine_atlas_region_get_degrees(spine_atlas_region self) {
+    return ((AtlasRegion*)self)->getDegrees();
+}
+
 spine_array_int spine_atlas_region_get_splits(spine_atlas_region self) {
     return (spine_array_int)&((AtlasRegion*)self)->getSplits();
 }
@@ -43,7 +79,7 @@ void spine_atlas_region_set_page(spine_atlas_region self, spine_atlas_page value
     ((AtlasRegion*)self)->setPage((AtlasPage *)value);
 }
 
-void spine_atlas_region_set_name(spine_atlas_region self, const char* value) {
+void spine_atlas_region_set_name(spine_atlas_region self, const char * value) {
     ((AtlasRegion*)self)->setName(String(value));
 }
 
@@ -59,6 +95,38 @@ void spine_atlas_region_set_y(spine_atlas_region self, int value) {
     ((AtlasRegion*)self)->setY(value);
 }
 
+void spine_atlas_region_set_offset_x(spine_atlas_region self, float value) {
+    ((AtlasRegion*)self)->setOffsetX(value);
+}
+
+void spine_atlas_region_set_offset_y(spine_atlas_region self, float value) {
+    ((AtlasRegion*)self)->setOffsetY(value);
+}
+
+void spine_atlas_region_set_packed_width(spine_atlas_region self, int value) {
+    ((AtlasRegion*)self)->setPackedWidth(value);
+}
+
+void spine_atlas_region_set_packed_height(spine_atlas_region self, int value) {
+    ((AtlasRegion*)self)->setPackedHeight(value);
+}
+
+void spine_atlas_region_set_original_width(spine_atlas_region self, int value) {
+    ((AtlasRegion*)self)->setOriginalWidth(value);
+}
+
+void spine_atlas_region_set_original_height(spine_atlas_region self, int value) {
+    ((AtlasRegion*)self)->setOriginalHeight(value);
+}
+
+void spine_atlas_region_set_rotate(spine_atlas_region self, bool value) {
+    ((AtlasRegion*)self)->setRotate(value);
+}
+
+void spine_atlas_region_set_degrees(spine_atlas_region self, int value) {
+    ((AtlasRegion*)self)->setDegrees(value);
+}
+
 void spine_atlas_region_set_splits(spine_atlas_region self, spine_array_int value) {
     ((AtlasRegion*)self)->setSplits(*((const Array<int>*)value));
 }
@@ -103,30 +171,6 @@ void spine_atlas_region_set_v2(spine_atlas_region self, float value) {
     ((TextureRegion*)(AtlasRegion*)self)->setV2(value);
 }
 
-int spine_atlas_region_get_degrees(spine_atlas_region self) {
-    return ((TextureRegion*)(AtlasRegion*)self)->getDegrees();
-}
-
-void spine_atlas_region_set_degrees(spine_atlas_region self, int value) {
-    ((TextureRegion*)(AtlasRegion*)self)->setDegrees(value);
-}
-
-float spine_atlas_region_get_offset_x(spine_atlas_region self) {
-    return ((TextureRegion*)(AtlasRegion*)self)->getOffsetX();
-}
-
-void spine_atlas_region_set_offset_x(spine_atlas_region self, float value) {
-    ((TextureRegion*)(AtlasRegion*)self)->setOffsetX(value);
-}
-
-float spine_atlas_region_get_offset_y(spine_atlas_region self) {
-    return ((TextureRegion*)(AtlasRegion*)self)->getOffsetY();
-}
-
-void spine_atlas_region_set_offset_y(spine_atlas_region self, float value) {
-    ((TextureRegion*)(AtlasRegion*)self)->setOffsetY(value);
-}
-
 int spine_atlas_region_get_region_width(spine_atlas_region self) {
     return ((TextureRegion*)(AtlasRegion*)self)->getRegionWidth();
 }
@@ -143,18 +187,6 @@ void spine_atlas_region_set_region_height(spine_atlas_region self, int value) {
     ((TextureRegion*)(AtlasRegion*)self)->setRegionHeight(value);
 }
 
-int spine_atlas_region_get_original_width(spine_atlas_region self) {
-    return ((TextureRegion*)(AtlasRegion*)self)->getOriginalWidth();
-}
-
-void spine_atlas_region_set_original_width(spine_atlas_region self, int value) {
-    ((TextureRegion*)(AtlasRegion*)self)->setOriginalWidth(value);
-}
-
-int spine_atlas_region_get_original_height(spine_atlas_region self) {
-    return ((TextureRegion*)(AtlasRegion*)self)->getOriginalHeight();
-}
-
-void spine_atlas_region_set_original_height(spine_atlas_region self, int value) {
-    ((TextureRegion*)(AtlasRegion*)self)->setOriginalHeight(value);
+spine_rtti spine_atlas_region_rtti(void) {
+    return (spine_rtti)&AtlasRegion::rtti;
 }

+ 19 - 11
spine-c/src/generated/atlas_region.h

@@ -12,18 +12,35 @@ SPINE_C_API spine_atlas_region spine_atlas_region_create(void);
 
 SPINE_C_API void spine_atlas_region_dispose(spine_atlas_region self);
 
+SPINE_C_API spine_rtti spine_atlas_region_get_rtti(spine_atlas_region self);
 SPINE_C_API spine_atlas_page spine_atlas_region_get_page(spine_atlas_region self);
 SPINE_C_API int spine_atlas_region_get_index(spine_atlas_region self);
 SPINE_C_API int spine_atlas_region_get_x(spine_atlas_region self);
 SPINE_C_API int spine_atlas_region_get_y(spine_atlas_region self);
+SPINE_C_API float spine_atlas_region_get_offset_x(spine_atlas_region self);
+SPINE_C_API float spine_atlas_region_get_offset_y(spine_atlas_region self);
+SPINE_C_API int spine_atlas_region_get_packed_width(spine_atlas_region self);
+SPINE_C_API int spine_atlas_region_get_packed_height(spine_atlas_region self);
+SPINE_C_API int spine_atlas_region_get_original_width(spine_atlas_region self);
+SPINE_C_API int spine_atlas_region_get_original_height(spine_atlas_region self);
+SPINE_C_API bool spine_atlas_region_get_rotate(spine_atlas_region self);
+SPINE_C_API int spine_atlas_region_get_degrees(spine_atlas_region self);
 SPINE_C_API spine_array_int spine_atlas_region_get_splits(spine_atlas_region self);
 SPINE_C_API spine_array_int spine_atlas_region_get_pads(spine_atlas_region self);
 SPINE_C_API spine_array_float spine_atlas_region_get_values(spine_atlas_region self);
 SPINE_C_API void spine_atlas_region_set_page(spine_atlas_region self, spine_atlas_page value);
-SPINE_C_API void spine_atlas_region_set_name(spine_atlas_region self, const char* value);
+SPINE_C_API void spine_atlas_region_set_name(spine_atlas_region self, const char * value);
 SPINE_C_API void spine_atlas_region_set_index(spine_atlas_region self, int value);
 SPINE_C_API void spine_atlas_region_set_x(spine_atlas_region self, int value);
 SPINE_C_API void spine_atlas_region_set_y(spine_atlas_region self, int value);
+SPINE_C_API void spine_atlas_region_set_offset_x(spine_atlas_region self, float value);
+SPINE_C_API void spine_atlas_region_set_offset_y(spine_atlas_region self, float value);
+SPINE_C_API void spine_atlas_region_set_packed_width(spine_atlas_region self, int value);
+SPINE_C_API void spine_atlas_region_set_packed_height(spine_atlas_region self, int value);
+SPINE_C_API void spine_atlas_region_set_original_width(spine_atlas_region self, int value);
+SPINE_C_API void spine_atlas_region_set_original_height(spine_atlas_region self, int value);
+SPINE_C_API void spine_atlas_region_set_rotate(spine_atlas_region self, bool value);
+SPINE_C_API void spine_atlas_region_set_degrees(spine_atlas_region self, int value);
 SPINE_C_API void spine_atlas_region_set_splits(spine_atlas_region self, spine_array_int value);
 SPINE_C_API void spine_atlas_region_set_pads(spine_atlas_region self, spine_array_int value);
 SPINE_C_API void spine_atlas_region_set_values(spine_atlas_region self, spine_array_float value);
@@ -35,20 +52,11 @@ SPINE_C_API float spine_atlas_region_get_u2(spine_atlas_region self);
 SPINE_C_API void spine_atlas_region_set_u2(spine_atlas_region self, float value);
 SPINE_C_API float spine_atlas_region_get_v2(spine_atlas_region self);
 SPINE_C_API void spine_atlas_region_set_v2(spine_atlas_region self, float value);
-SPINE_C_API int spine_atlas_region_get_degrees(spine_atlas_region self);
-SPINE_C_API void spine_atlas_region_set_degrees(spine_atlas_region self, int value);
-SPINE_C_API float spine_atlas_region_get_offset_x(spine_atlas_region self);
-SPINE_C_API void spine_atlas_region_set_offset_x(spine_atlas_region self, float value);
-SPINE_C_API float spine_atlas_region_get_offset_y(spine_atlas_region self);
-SPINE_C_API void spine_atlas_region_set_offset_y(spine_atlas_region self, float value);
 SPINE_C_API int spine_atlas_region_get_region_width(spine_atlas_region self);
 SPINE_C_API void spine_atlas_region_set_region_width(spine_atlas_region self, int value);
 SPINE_C_API int spine_atlas_region_get_region_height(spine_atlas_region self);
 SPINE_C_API void spine_atlas_region_set_region_height(spine_atlas_region self, int value);
-SPINE_C_API int spine_atlas_region_get_original_width(spine_atlas_region self);
-SPINE_C_API void spine_atlas_region_set_original_width(spine_atlas_region self, int value);
-SPINE_C_API int spine_atlas_region_get_original_height(spine_atlas_region self);
-SPINE_C_API void spine_atlas_region_set_original_height(spine_atlas_region self, int value);
+SPINE_C_API spine_rtti spine_atlas_region_rtti(void);
 
 #ifdef __cplusplus
 }

+ 1 - 1
spine-c/src/generated/attachment.cpp

@@ -11,7 +11,7 @@ spine_rtti spine_attachment_get_rtti(spine_attachment self) {
     return (spine_rtti)&((Attachment*)self)->getRTTI();
 }
 
-const char* spine_attachment_get_name(spine_attachment self) {
+const char * spine_attachment_get_name(spine_attachment self) {
     return ((Attachment*)self)->getName().buffer();
 }
 

+ 1 - 1
spine-c/src/generated/attachment.h

@@ -11,7 +11,7 @@ extern "C" {
 SPINE_C_API void spine_attachment_dispose(spine_attachment self);
 
 SPINE_C_API spine_rtti spine_attachment_get_rtti(spine_attachment self);
-SPINE_C_API const char* spine_attachment_get_name(spine_attachment self);
+SPINE_C_API const char * spine_attachment_get_name(spine_attachment self);
 SPINE_C_API spine_attachment spine_attachment_copy(spine_attachment self);
 SPINE_C_API int spine_attachment_get_ref_count(spine_attachment self);
 SPINE_C_API void spine_attachment_reference(spine_attachment self);

+ 6 - 6
spine-c/src/generated/attachment_loader.cpp

@@ -7,26 +7,26 @@ void spine_attachment_loader_dispose(spine_attachment_loader self) {
     delete (AttachmentLoader*)self;
 }
 
-spine_region_attachment spine_attachment_loader_new_region_attachment(spine_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence) {
+spine_region_attachment spine_attachment_loader_new_region_attachment(spine_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence) {
     return (spine_region_attachment)((AttachmentLoader*)self)->newRegionAttachment(*((Skin*)skin), String(name), String(path), (Sequence *)sequence);
 }
 
-spine_mesh_attachment spine_attachment_loader_new_mesh_attachment(spine_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence) {
+spine_mesh_attachment spine_attachment_loader_new_mesh_attachment(spine_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence) {
     return (spine_mesh_attachment)((AttachmentLoader*)self)->newMeshAttachment(*((Skin*)skin), String(name), String(path), (Sequence *)sequence);
 }
 
-spine_bounding_box_attachment spine_attachment_loader_new_bounding_box_attachment(spine_attachment_loader self, spine_skin skin, const char* name) {
+spine_bounding_box_attachment spine_attachment_loader_new_bounding_box_attachment(spine_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_bounding_box_attachment)((AttachmentLoader*)self)->newBoundingBoxAttachment(*((Skin*)skin), String(name));
 }
 
-spine_path_attachment spine_attachment_loader_new_path_attachment(spine_attachment_loader self, spine_skin skin, const char* name) {
+spine_path_attachment spine_attachment_loader_new_path_attachment(spine_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_path_attachment)((AttachmentLoader*)self)->newPathAttachment(*((Skin*)skin), String(name));
 }
 
-spine_point_attachment spine_attachment_loader_new_point_attachment(spine_attachment_loader self, spine_skin skin, const char* name) {
+spine_point_attachment spine_attachment_loader_new_point_attachment(spine_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_point_attachment)((AttachmentLoader*)self)->newPointAttachment(*((Skin*)skin), String(name));
 }
 
-spine_clipping_attachment spine_attachment_loader_new_clipping_attachment(spine_attachment_loader self, spine_skin skin, const char* name) {
+spine_clipping_attachment spine_attachment_loader_new_clipping_attachment(spine_attachment_loader self, spine_skin skin, const char * name) {
     return (spine_clipping_attachment)((AttachmentLoader*)self)->newClippingAttachment(*((Skin*)skin), String(name));
 }

+ 6 - 6
spine-c/src/generated/attachment_loader.h

@@ -10,12 +10,12 @@ extern "C" {
 
 SPINE_C_API void spine_attachment_loader_dispose(spine_attachment_loader self);
 
-SPINE_C_API spine_region_attachment spine_attachment_loader_new_region_attachment(spine_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence);
-SPINE_C_API spine_mesh_attachment spine_attachment_loader_new_mesh_attachment(spine_attachment_loader self, spine_skin skin, const char* name, const char* path, spine_sequence sequence);
-SPINE_C_API spine_bounding_box_attachment spine_attachment_loader_new_bounding_box_attachment(spine_attachment_loader self, spine_skin skin, const char* name);
-SPINE_C_API spine_path_attachment spine_attachment_loader_new_path_attachment(spine_attachment_loader self, spine_skin skin, const char* name);
-SPINE_C_API spine_point_attachment spine_attachment_loader_new_point_attachment(spine_attachment_loader self, spine_skin skin, const char* name);
-SPINE_C_API spine_clipping_attachment spine_attachment_loader_new_clipping_attachment(spine_attachment_loader self, spine_skin skin, const char* name);
+SPINE_C_API spine_region_attachment spine_attachment_loader_new_region_attachment(spine_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence);
+SPINE_C_API spine_mesh_attachment spine_attachment_loader_new_mesh_attachment(spine_attachment_loader self, spine_skin skin, const char * name, const char * path, spine_sequence sequence);
+SPINE_C_API spine_bounding_box_attachment spine_attachment_loader_new_bounding_box_attachment(spine_attachment_loader self, spine_skin skin, const char * name);
+SPINE_C_API spine_path_attachment spine_attachment_loader_new_path_attachment(spine_attachment_loader self, spine_skin skin, const char * name);
+SPINE_C_API spine_point_attachment spine_attachment_loader_new_point_attachment(spine_attachment_loader self, spine_skin skin, const char * name);
+SPINE_C_API spine_clipping_attachment spine_attachment_loader_new_clipping_attachment(spine_attachment_loader self, spine_skin skin, const char * name);
 
 #ifdef __cplusplus
 }

+ 1 - 1
spine-c/src/generated/attachment_timeline.cpp

@@ -19,7 +19,7 @@ void spine_attachment_timeline_apply(spine_attachment_timeline self, spine_skele
     ((AttachmentTimeline*)self)->apply(*((Skeleton*)skeleton), lastTime, time, (Array<Event *> *)pEvents, alpha, (MixBlend)blend, (MixDirection)direction, appliedPose);
 }
 
-void spine_attachment_timeline_set_frame(spine_attachment_timeline self, int frame, float time, const char* attachmentName) {
+void spine_attachment_timeline_set_frame(spine_attachment_timeline self, int frame, float time, const char * attachmentName) {
     ((AttachmentTimeline*)self)->setFrame(frame, time, String(attachmentName));
 }
 

+ 1 - 1
spine-c/src/generated/attachment_timeline.h

@@ -14,7 +14,7 @@ SPINE_C_API void spine_attachment_timeline_dispose(spine_attachment_timeline sel
 
 SPINE_C_API spine_rtti spine_attachment_timeline_get_rtti(spine_attachment_timeline self);
 SPINE_C_API void spine_attachment_timeline_apply(spine_attachment_timeline self, spine_skeleton skeleton, float lastTime, float time, spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose);
-SPINE_C_API void spine_attachment_timeline_set_frame(spine_attachment_timeline self, int frame, float time, const char* attachmentName);
+SPINE_C_API void spine_attachment_timeline_set_frame(spine_attachment_timeline self, int frame, float time, const char * attachmentName);
 SPINE_C_API size_t spine_attachment_timeline_get_frame_entries(spine_attachment_timeline self);
 SPINE_C_API size_t spine_attachment_timeline_get_frame_count(spine_attachment_timeline self);
 SPINE_C_API spine_array_float spine_attachment_timeline_get_frames(spine_attachment_timeline self);

+ 4 - 4
spine-c/src/generated/bone_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_bone_data spine_bone_data_create(int index, const char* name, spine_bone_data parent) {
+spine_bone_data spine_bone_data_create(int index, const char * name, spine_bone_data parent) {
     return (spine_bone_data) new (__FILE__, __LINE__) BoneData(index, String(name), (BoneData *)parent);
 }
 
@@ -31,11 +31,11 @@ spine_color spine_bone_data_get_color(spine_bone_data self) {
     return (spine_color)&((BoneData*)self)->getColor();
 }
 
-const char* spine_bone_data_get_icon(spine_bone_data self) {
+const char * spine_bone_data_get_icon(spine_bone_data self) {
     return ((BoneData*)self)->getIcon().buffer();
 }
 
-void spine_bone_data_set_icon(spine_bone_data self, const char* icon) {
+void spine_bone_data_set_icon(spine_bone_data self, const char * icon) {
     ((BoneData*)self)->setIcon(String(icon));
 }
 
@@ -51,7 +51,7 @@ spine_bone_local spine_bone_data_get_setup_pose(spine_bone_data self) {
     return (spine_bone_local)&((PosedDataGeneric<BoneLocal>*)(BoneData*)self)->getSetupPose();
 }
 
-const char* spine_bone_data_get_name(spine_bone_data self) {
+const char * spine_bone_data_get_name(spine_bone_data self) {
     return ((PosedDataGeneric<BoneLocal>*)(BoneData*)self)->getName().buffer();
 }
 

+ 4 - 4
spine-c/src/generated/bone_data.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_bone_data spine_bone_data_create(int index, const char* name, spine_bone_data parent);
+SPINE_C_API spine_bone_data spine_bone_data_create(int index, const char * name, spine_bone_data parent);
 
 SPINE_C_API void spine_bone_data_dispose(spine_bone_data self);
 
@@ -17,12 +17,12 @@ SPINE_C_API spine_bone_data spine_bone_data_get_parent(spine_bone_data self);
 SPINE_C_API float spine_bone_data_get_length(spine_bone_data self);
 SPINE_C_API void spine_bone_data_set_length(spine_bone_data self, float inValue);
 SPINE_C_API spine_color spine_bone_data_get_color(spine_bone_data self);
-SPINE_C_API const char* spine_bone_data_get_icon(spine_bone_data self);
-SPINE_C_API void spine_bone_data_set_icon(spine_bone_data self, const char* icon);
+SPINE_C_API const char * spine_bone_data_get_icon(spine_bone_data self);
+SPINE_C_API void spine_bone_data_set_icon(spine_bone_data self, const char * icon);
 SPINE_C_API bool spine_bone_data_get_visible(spine_bone_data self);
 SPINE_C_API void spine_bone_data_set_visible(spine_bone_data self, bool inValue);
 SPINE_C_API spine_bone_local spine_bone_data_get_setup_pose(spine_bone_data self);
-SPINE_C_API const char* spine_bone_data_get_name(spine_bone_data self);
+SPINE_C_API const char * spine_bone_data_get_name(spine_bone_data self);
 SPINE_C_API bool spine_bone_data_get_skin_required(spine_bone_data self);
 SPINE_C_API void spine_bone_data_set_skin_required(spine_bone_data self, bool skinRequired);
 

+ 4 - 4
spine-c/src/generated/bone_pose.cpp

@@ -103,19 +103,19 @@ float spine_bone_pose_get_world_scale_y(spine_bone_pose self) {
     return ((BonePose*)self)->getWorldScaleY();
 }
 
-void spine_bone_pose_world_to_local(spine_bone_pose self, float worldX, float worldY, float* outLocalX, float* outLocalY) {
+void spine_bone_pose_world_to_local(spine_bone_pose self, float worldX, float worldY, float * outLocalX, float * outLocalY) {
     ((BonePose*)self)->worldToLocal(worldX, worldY, *outLocalX, *outLocalY);
 }
 
-void spine_bone_pose_local_to_world(spine_bone_pose self, float localX, float localY, float* outWorldX, float* outWorldY) {
+void spine_bone_pose_local_to_world(spine_bone_pose self, float localX, float localY, float * outWorldX, float * outWorldY) {
     ((BonePose*)self)->localToWorld(localX, localY, *outWorldX, *outWorldY);
 }
 
-void spine_bone_pose_world_to_parent(spine_bone_pose self, float worldX, float worldY, float* outParentX, float* outParentY) {
+void spine_bone_pose_world_to_parent(spine_bone_pose self, float worldX, float worldY, float * outParentX, float * outParentY) {
     ((BonePose*)self)->worldToParent(worldX, worldY, *outParentX, *outParentY);
 }
 
-void spine_bone_pose_parent_to_world(spine_bone_pose self, float parentX, float parentY, float* outWorldX, float* outWorldY) {
+void spine_bone_pose_parent_to_world(spine_bone_pose self, float parentX, float parentY, float * outWorldX, float * outWorldY) {
     ((BonePose*)self)->parentToWorld(parentX, parentY, *outWorldX, *outWorldY);
 }
 

+ 4 - 4
spine-c/src/generated/bone_pose.h

@@ -35,10 +35,10 @@ SPINE_C_API float spine_bone_pose_get_world_rotation_x(spine_bone_pose self);
 SPINE_C_API float spine_bone_pose_get_world_rotation_y(spine_bone_pose self);
 SPINE_C_API float spine_bone_pose_get_world_scale_x(spine_bone_pose self);
 SPINE_C_API float spine_bone_pose_get_world_scale_y(spine_bone_pose self);
-SPINE_C_API void spine_bone_pose_world_to_local(spine_bone_pose self, float worldX, float worldY, float* outLocalX, float* outLocalY);
-SPINE_C_API void spine_bone_pose_local_to_world(spine_bone_pose self, float localX, float localY, float* outWorldX, float* outWorldY);
-SPINE_C_API void spine_bone_pose_world_to_parent(spine_bone_pose self, float worldX, float worldY, float* outParentX, float* outParentY);
-SPINE_C_API void spine_bone_pose_parent_to_world(spine_bone_pose self, float parentX, float parentY, float* outWorldX, float* outWorldY);
+SPINE_C_API void spine_bone_pose_world_to_local(spine_bone_pose self, float worldX, float worldY, float * outLocalX, float * outLocalY);
+SPINE_C_API void spine_bone_pose_local_to_world(spine_bone_pose self, float localX, float localY, float * outWorldX, float * outWorldY);
+SPINE_C_API void spine_bone_pose_world_to_parent(spine_bone_pose self, float worldX, float worldY, float * outParentX, float * outParentY);
+SPINE_C_API void spine_bone_pose_parent_to_world(spine_bone_pose self, float parentX, float parentY, float * outWorldX, float * outWorldY);
 SPINE_C_API float spine_bone_pose_world_to_local_rotation(spine_bone_pose self, float worldRotation);
 SPINE_C_API float spine_bone_pose_local_to_world_rotation(spine_bone_pose self, float localRotation);
 SPINE_C_API void spine_bone_pose_rotate_world(spine_bone_pose self, float degrees);

+ 2 - 2
spine-c/src/generated/bounding_box_attachment.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_bounding_box_attachment spine_bounding_box_attachment_create(const char* name) {
+spine_bounding_box_attachment spine_bounding_box_attachment_create(const char * name) {
     return (spine_bounding_box_attachment) new (__FILE__, __LINE__) BoundingBoxAttachment(String(name));
 }
 
@@ -71,7 +71,7 @@ void spine_bounding_box_attachment_copy_to(spine_bounding_box_attachment self, s
     ((VertexAttachment*)(BoundingBoxAttachment*)self)->copyTo((VertexAttachment *)other);
 }
 
-const char* spine_bounding_box_attachment_get_name(spine_bounding_box_attachment self) {
+const char * spine_bounding_box_attachment_get_name(spine_bounding_box_attachment self) {
     return ((VertexAttachment*)(BoundingBoxAttachment*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/bounding_box_attachment.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_bounding_box_attachment spine_bounding_box_attachment_create(const char* name);
+SPINE_C_API spine_bounding_box_attachment spine_bounding_box_attachment_create(const char * name);
 
 SPINE_C_API void spine_bounding_box_attachment_dispose(spine_bounding_box_attachment self);
 
@@ -27,7 +27,7 @@ SPINE_C_API void spine_bounding_box_attachment_set_world_vertices_length(spine_b
 SPINE_C_API spine_attachment spine_bounding_box_attachment_get_timeline_attachment(spine_bounding_box_attachment self);
 SPINE_C_API void spine_bounding_box_attachment_set_timeline_attachment(spine_bounding_box_attachment self, spine_attachment attachment);
 SPINE_C_API void spine_bounding_box_attachment_copy_to(spine_bounding_box_attachment self, spine_vertex_attachment other);
-SPINE_C_API const char* spine_bounding_box_attachment_get_name(spine_bounding_box_attachment self);
+SPINE_C_API const char * spine_bounding_box_attachment_get_name(spine_bounding_box_attachment self);
 SPINE_C_API int spine_bounding_box_attachment_get_ref_count(spine_bounding_box_attachment self);
 SPINE_C_API void spine_bounding_box_attachment_reference(spine_bounding_box_attachment self);
 SPINE_C_API void spine_bounding_box_attachment_dereference(spine_bounding_box_attachment self);

+ 2 - 2
spine-c/src/generated/clipping_attachment.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_clipping_attachment spine_clipping_attachment_create(const char* name) {
+spine_clipping_attachment spine_clipping_attachment_create(const char * name) {
     return (spine_clipping_attachment) new (__FILE__, __LINE__) ClippingAttachment(String(name));
 }
 
@@ -79,7 +79,7 @@ void spine_clipping_attachment_copy_to(spine_clipping_attachment self, spine_ver
     ((VertexAttachment*)(ClippingAttachment*)self)->copyTo((VertexAttachment *)other);
 }
 
-const char* spine_clipping_attachment_get_name(spine_clipping_attachment self) {
+const char * spine_clipping_attachment_get_name(spine_clipping_attachment self) {
     return ((VertexAttachment*)(ClippingAttachment*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/clipping_attachment.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_clipping_attachment spine_clipping_attachment_create(const char* name);
+SPINE_C_API spine_clipping_attachment spine_clipping_attachment_create(const char * name);
 
 SPINE_C_API void spine_clipping_attachment_dispose(spine_clipping_attachment self);
 
@@ -29,7 +29,7 @@ SPINE_C_API void spine_clipping_attachment_set_world_vertices_length(spine_clipp
 SPINE_C_API spine_attachment spine_clipping_attachment_get_timeline_attachment(spine_clipping_attachment self);
 SPINE_C_API void spine_clipping_attachment_set_timeline_attachment(spine_clipping_attachment self, spine_attachment attachment);
 SPINE_C_API void spine_clipping_attachment_copy_to(spine_clipping_attachment self, spine_vertex_attachment other);
-SPINE_C_API const char* spine_clipping_attachment_get_name(spine_clipping_attachment self);
+SPINE_C_API const char * spine_clipping_attachment_get_name(spine_clipping_attachment self);
 SPINE_C_API int spine_clipping_attachment_get_ref_count(spine_clipping_attachment self);
 SPINE_C_API void spine_clipping_attachment_reference(spine_clipping_attachment self);
 SPINE_C_API void spine_clipping_attachment_dereference(spine_clipping_attachment self);

+ 1 - 1
spine-c/src/generated/constraint_data.cpp

@@ -15,7 +15,7 @@ spine_constraint spine_constraint_data_create_method(spine_constraint_data self,
     return (spine_constraint)((ConstraintData*)self)->create(*((Skeleton*)skeleton));
 }
 
-const char* spine_constraint_data_get_name(spine_constraint_data self) {
+const char * spine_constraint_data_get_name(spine_constraint_data self) {
     return ((ConstraintData*)self)->getName().buffer();
 }
 

+ 1 - 1
spine-c/src/generated/constraint_data.h

@@ -12,7 +12,7 @@ SPINE_C_API void spine_constraint_data_dispose(spine_constraint_data self);
 
 SPINE_C_API spine_rtti spine_constraint_data_get_rtti(spine_constraint_data self);
 SPINE_C_API spine_constraint spine_constraint_data_create_method(spine_constraint_data self, spine_skeleton skeleton);
-SPINE_C_API const char* spine_constraint_data_get_name(spine_constraint_data self);
+SPINE_C_API const char * spine_constraint_data_get_name(spine_constraint_data self);
 SPINE_C_API bool spine_constraint_data_get_skin_required(spine_constraint_data self);
 SPINE_C_API spine_rtti spine_constraint_data_rtti(void);
 

+ 2 - 2
spine-c/src/generated/event.cpp

@@ -35,11 +35,11 @@ void spine_event_set_float(spine_event self, float inValue) {
     ((Event*)self)->setFloat(inValue);
 }
 
-const char* spine_event_get_string(spine_event self) {
+const char * spine_event_get_string(spine_event self) {
     return ((Event*)self)->getString().buffer();
 }
 
-void spine_event_set_string(spine_event self, const char* inValue) {
+void spine_event_set_string(spine_event self, const char * inValue) {
     ((Event*)self)->setString(String(inValue));
 }
 

+ 2 - 2
spine-c/src/generated/event.h

@@ -18,8 +18,8 @@ SPINE_C_API int spine_event_get_int(spine_event self);
 SPINE_C_API void spine_event_set_int(spine_event self, int inValue);
 SPINE_C_API float spine_event_get_float(spine_event self);
 SPINE_C_API void spine_event_set_float(spine_event self, float inValue);
-SPINE_C_API const char* spine_event_get_string(spine_event self);
-SPINE_C_API void spine_event_set_string(spine_event self, const char* inValue);
+SPINE_C_API const char * spine_event_get_string(spine_event self);
+SPINE_C_API void spine_event_set_string(spine_event self, const char * inValue);
 SPINE_C_API float spine_event_get_volume(spine_event self);
 SPINE_C_API void spine_event_set_volume(spine_event self, float inValue);
 SPINE_C_API float spine_event_get_balance(spine_event self);

+ 6 - 6
spine-c/src/generated/event_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_event_data spine_event_data_create(const char* name) {
+spine_event_data spine_event_data_create(const char * name) {
     return (spine_event_data) new (__FILE__, __LINE__) EventData(String(name));
 }
 
@@ -11,7 +11,7 @@ void spine_event_data_dispose(spine_event_data self) {
     delete (EventData*)self;
 }
 
-const char* spine_event_data_get_name(spine_event_data self) {
+const char * spine_event_data_get_name(spine_event_data self) {
     return ((EventData*)self)->getName().buffer();
 }
 
@@ -31,19 +31,19 @@ void spine_event_data_set_float(spine_event_data self, float inValue) {
     ((EventData*)self)->setFloat(inValue);
 }
 
-const char* spine_event_data_get_string(spine_event_data self) {
+const char * spine_event_data_get_string(spine_event_data self) {
     return ((EventData*)self)->getString().buffer();
 }
 
-void spine_event_data_set_string(spine_event_data self, const char* inValue) {
+void spine_event_data_set_string(spine_event_data self, const char * inValue) {
     ((EventData*)self)->setString(String(inValue));
 }
 
-const char* spine_event_data_get_audio_path(spine_event_data self) {
+const char * spine_event_data_get_audio_path(spine_event_data self) {
     return ((EventData*)self)->getAudioPath().buffer();
 }
 
-void spine_event_data_set_audio_path(spine_event_data self, const char* inValue) {
+void spine_event_data_set_audio_path(spine_event_data self, const char * inValue) {
     ((EventData*)self)->setAudioPath(String(inValue));
 }
 

+ 6 - 6
spine-c/src/generated/event_data.h

@@ -8,19 +8,19 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_event_data spine_event_data_create(const char* name);
+SPINE_C_API spine_event_data spine_event_data_create(const char * name);
 
 SPINE_C_API void spine_event_data_dispose(spine_event_data self);
 
-SPINE_C_API const char* spine_event_data_get_name(spine_event_data self);
+SPINE_C_API const char * spine_event_data_get_name(spine_event_data self);
 SPINE_C_API int spine_event_data_get_int(spine_event_data self);
 SPINE_C_API void spine_event_data_set_int(spine_event_data self, int inValue);
 SPINE_C_API float spine_event_data_get_float(spine_event_data self);
 SPINE_C_API void spine_event_data_set_float(spine_event_data self, float inValue);
-SPINE_C_API const char* spine_event_data_get_string(spine_event_data self);
-SPINE_C_API void spine_event_data_set_string(spine_event_data self, const char* inValue);
-SPINE_C_API const char* spine_event_data_get_audio_path(spine_event_data self);
-SPINE_C_API void spine_event_data_set_audio_path(spine_event_data self, const char* inValue);
+SPINE_C_API const char * spine_event_data_get_string(spine_event_data self);
+SPINE_C_API void spine_event_data_set_string(spine_event_data self, const char * inValue);
+SPINE_C_API const char * spine_event_data_get_audio_path(spine_event_data self);
+SPINE_C_API void spine_event_data_set_audio_path(spine_event_data self, const char * inValue);
 SPINE_C_API float spine_event_data_get_volume(spine_event_data self);
 SPINE_C_API void spine_event_data_set_volume(spine_event_data self, float inValue);
 SPINE_C_API float spine_event_data_get_balance(spine_event_data self);

+ 2 - 2
spine-c/src/generated/ik_constraint_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_ik_constraint_data spine_ik_constraint_data_create(const char* name) {
+spine_ik_constraint_data spine_ik_constraint_data_create(const char * name) {
     return (spine_ik_constraint_data) new (__FILE__, __LINE__) IkConstraintData(String(name));
 }
 
@@ -39,7 +39,7 @@ void spine_ik_constraint_data_set_uniform(spine_ik_constraint_data self, bool un
     ((IkConstraintData*)self)->setUniform(uniform);
 }
 
-const char* spine_ik_constraint_data_get_name(spine_ik_constraint_data self) {
+const char * spine_ik_constraint_data_get_name(spine_ik_constraint_data self) {
     return ((ConstraintDataGeneric<IkConstraint, IkConstraintPose>*)(IkConstraintData*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/ik_constraint_data.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_ik_constraint_data spine_ik_constraint_data_create(const char* name);
+SPINE_C_API spine_ik_constraint_data spine_ik_constraint_data_create(const char * name);
 
 SPINE_C_API void spine_ik_constraint_data_dispose(spine_ik_constraint_data self);
 
@@ -19,7 +19,7 @@ SPINE_C_API spine_bone_data spine_ik_constraint_data_get_target(spine_ik_constra
 SPINE_C_API void spine_ik_constraint_data_set_target(spine_ik_constraint_data self, spine_bone_data inValue);
 SPINE_C_API bool spine_ik_constraint_data_get_uniform(spine_ik_constraint_data self);
 SPINE_C_API void spine_ik_constraint_data_set_uniform(spine_ik_constraint_data self, bool uniform);
-SPINE_C_API const char* spine_ik_constraint_data_get_name(spine_ik_constraint_data self);
+SPINE_C_API const char * spine_ik_constraint_data_get_name(spine_ik_constraint_data self);
 SPINE_C_API bool spine_ik_constraint_data_get_skin_required(spine_ik_constraint_data self);
 SPINE_C_API spine_ik_constraint_pose spine_ik_constraint_data_get_setup_pose(spine_ik_constraint_data self);
 SPINE_C_API void spine_ik_constraint_data_set_skin_required(spine_ik_constraint_data self, bool skinRequired);

+ 2 - 2
spine-c/src/generated/linked_mesh.cpp

@@ -3,11 +3,11 @@
 
 using namespace spine;
 
-spine_linked_mesh spine_linked_mesh_create(spine_mesh_attachment mesh, const int skinIndex, size_t slotIndex, const char* parent, bool inheritTimelines) {
+spine_linked_mesh spine_linked_mesh_create(spine_mesh_attachment mesh, const int skinIndex, size_t slotIndex, const char * parent, bool inheritTimelines) {
     return (spine_linked_mesh) new (__FILE__, __LINE__) LinkedMesh((MeshAttachment *)mesh, skinIndex, slotIndex, String(parent), inheritTimelines);
 }
 
-spine_linked_mesh spine_linked_mesh_create2(spine_mesh_attachment mesh, const char* skin, size_t slotIndex, const char* parent, bool inheritTimelines) {
+spine_linked_mesh spine_linked_mesh_create2(spine_mesh_attachment mesh, const char * skin, size_t slotIndex, const char * parent, bool inheritTimelines) {
     return (spine_linked_mesh) new (__FILE__, __LINE__) LinkedMesh((MeshAttachment *)mesh, String(skin), slotIndex, String(parent), inheritTimelines);
 }
 

+ 2 - 2
spine-c/src/generated/linked_mesh.h

@@ -8,8 +8,8 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_linked_mesh spine_linked_mesh_create(spine_mesh_attachment mesh, const int skinIndex, size_t slotIndex, const char* parent, bool inheritTimelines);
-SPINE_C_API spine_linked_mesh spine_linked_mesh_create2(spine_mesh_attachment mesh, const char* skin, size_t slotIndex, const char* parent, bool inheritTimelines);
+SPINE_C_API spine_linked_mesh spine_linked_mesh_create(spine_mesh_attachment mesh, const int skinIndex, size_t slotIndex, const char * parent, bool inheritTimelines);
+SPINE_C_API spine_linked_mesh spine_linked_mesh_create2(spine_mesh_attachment mesh, const char * skin, size_t slotIndex, const char * parent, bool inheritTimelines);
 
 SPINE_C_API void spine_linked_mesh_dispose(spine_linked_mesh self);
 

+ 4 - 4
spine-c/src/generated/mesh_attachment.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_mesh_attachment spine_mesh_attachment_create(const char* name) {
+spine_mesh_attachment spine_mesh_attachment_create(const char * name) {
     return (spine_mesh_attachment) new (__FILE__, __LINE__) MeshAttachment(String(name));
 }
 
@@ -59,11 +59,11 @@ spine_color spine_mesh_attachment_get_color(spine_mesh_attachment self) {
     return (spine_color)&((MeshAttachment*)self)->getColor();
 }
 
-const char* spine_mesh_attachment_get_path(spine_mesh_attachment self) {
+const char * spine_mesh_attachment_get_path(spine_mesh_attachment self) {
     return ((MeshAttachment*)self)->getPath().buffer();
 }
 
-void spine_mesh_attachment_set_path(spine_mesh_attachment self, const char* inValue) {
+void spine_mesh_attachment_set_path(spine_mesh_attachment self, const char * inValue) {
     ((MeshAttachment*)self)->setPath(String(inValue));
 }
 
@@ -163,7 +163,7 @@ void spine_mesh_attachment_copy_to(spine_mesh_attachment self, spine_vertex_atta
     ((VertexAttachment*)(MeshAttachment*)self)->copyTo((VertexAttachment *)other);
 }
 
-const char* spine_mesh_attachment_get_name(spine_mesh_attachment self) {
+const char * spine_mesh_attachment_get_name(spine_mesh_attachment self) {
     return ((VertexAttachment*)(MeshAttachment*)self)->getName().buffer();
 }
 

+ 4 - 4
spine-c/src/generated/mesh_attachment.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_mesh_attachment spine_mesh_attachment_create(const char* name);
+SPINE_C_API spine_mesh_attachment spine_mesh_attachment_create(const char * name);
 
 SPINE_C_API void spine_mesh_attachment_dispose(spine_mesh_attachment self);
 
@@ -24,8 +24,8 @@ SPINE_C_API spine_array_float spine_mesh_attachment_get_u_vs(spine_mesh_attachme
 SPINE_C_API spine_array_unsigned_short spine_mesh_attachment_get_triangles(spine_mesh_attachment self);
 SPINE_C_API void spine_mesh_attachment_set_triangles(spine_mesh_attachment self, spine_array_unsigned_short inValue);
 SPINE_C_API spine_color spine_mesh_attachment_get_color(spine_mesh_attachment self);
-SPINE_C_API const char* spine_mesh_attachment_get_path(spine_mesh_attachment self);
-SPINE_C_API void spine_mesh_attachment_set_path(spine_mesh_attachment self, const char* inValue);
+SPINE_C_API const char * spine_mesh_attachment_get_path(spine_mesh_attachment self);
+SPINE_C_API void spine_mesh_attachment_set_path(spine_mesh_attachment self, const char * inValue);
 SPINE_C_API spine_texture_region spine_mesh_attachment_get_region(spine_mesh_attachment self);
 SPINE_C_API void spine_mesh_attachment_set_region(spine_mesh_attachment self, spine_texture_region region);
 SPINE_C_API spine_sequence spine_mesh_attachment_get_sequence(spine_mesh_attachment self);
@@ -50,7 +50,7 @@ SPINE_C_API void spine_mesh_attachment_set_world_vertices_length(spine_mesh_atta
 SPINE_C_API spine_attachment spine_mesh_attachment_get_timeline_attachment(spine_mesh_attachment self);
 SPINE_C_API void spine_mesh_attachment_set_timeline_attachment(spine_mesh_attachment self, spine_attachment attachment);
 SPINE_C_API void spine_mesh_attachment_copy_to(spine_mesh_attachment self, spine_vertex_attachment other);
-SPINE_C_API const char* spine_mesh_attachment_get_name(spine_mesh_attachment self);
+SPINE_C_API const char * spine_mesh_attachment_get_name(spine_mesh_attachment self);
 SPINE_C_API int spine_mesh_attachment_get_ref_count(spine_mesh_attachment self);
 SPINE_C_API void spine_mesh_attachment_reference(spine_mesh_attachment self);
 SPINE_C_API void spine_mesh_attachment_dereference(spine_mesh_attachment self);

+ 2 - 2
spine-c/src/generated/path_attachment.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_path_attachment spine_path_attachment_create(const char* name) {
+spine_path_attachment spine_path_attachment_create(const char * name) {
     return (spine_path_attachment) new (__FILE__, __LINE__) PathAttachment(String(name));
 }
 
@@ -95,7 +95,7 @@ void spine_path_attachment_copy_to(spine_path_attachment self, spine_vertex_atta
     ((VertexAttachment*)(PathAttachment*)self)->copyTo((VertexAttachment *)other);
 }
 
-const char* spine_path_attachment_get_name(spine_path_attachment self) {
+const char * spine_path_attachment_get_name(spine_path_attachment self) {
     return ((VertexAttachment*)(PathAttachment*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/path_attachment.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_path_attachment spine_path_attachment_create(const char* name);
+SPINE_C_API spine_path_attachment spine_path_attachment_create(const char * name);
 
 SPINE_C_API void spine_path_attachment_dispose(spine_path_attachment self);
 
@@ -33,7 +33,7 @@ SPINE_C_API void spine_path_attachment_set_world_vertices_length(spine_path_atta
 SPINE_C_API spine_attachment spine_path_attachment_get_timeline_attachment(spine_path_attachment self);
 SPINE_C_API void spine_path_attachment_set_timeline_attachment(spine_path_attachment self, spine_attachment attachment);
 SPINE_C_API void spine_path_attachment_copy_to(spine_path_attachment self, spine_vertex_attachment other);
-SPINE_C_API const char* spine_path_attachment_get_name(spine_path_attachment self);
+SPINE_C_API const char * spine_path_attachment_get_name(spine_path_attachment self);
 SPINE_C_API int spine_path_attachment_get_ref_count(spine_path_attachment self);
 SPINE_C_API void spine_path_attachment_reference(spine_path_attachment self);
 SPINE_C_API void spine_path_attachment_dereference(spine_path_attachment self);

+ 2 - 2
spine-c/src/generated/path_constraint_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_path_constraint_data spine_path_constraint_data_create(const char* name) {
+spine_path_constraint_data spine_path_constraint_data_create(const char * name) {
     return (spine_path_constraint_data) new (__FILE__, __LINE__) PathConstraintData(String(name));
 }
 
@@ -63,7 +63,7 @@ void spine_path_constraint_data_set_offset_rotation(spine_path_constraint_data s
     ((PathConstraintData*)self)->setOffsetRotation(offsetRotation);
 }
 
-const char* spine_path_constraint_data_get_name(spine_path_constraint_data self) {
+const char * spine_path_constraint_data_get_name(spine_path_constraint_data self) {
     return ((ConstraintDataGeneric<PathConstraint, PathConstraintPose>*)(PathConstraintData*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/path_constraint_data.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_path_constraint_data spine_path_constraint_data_create(const char* name);
+SPINE_C_API spine_path_constraint_data spine_path_constraint_data_create(const char * name);
 
 SPINE_C_API void spine_path_constraint_data_dispose(spine_path_constraint_data self);
 
@@ -25,7 +25,7 @@ SPINE_C_API spine_rotate_mode spine_path_constraint_data_get_rotate_mode(spine_p
 SPINE_C_API void spine_path_constraint_data_set_rotate_mode(spine_path_constraint_data self, spine_rotate_mode rotateMode);
 SPINE_C_API float spine_path_constraint_data_get_offset_rotation(spine_path_constraint_data self);
 SPINE_C_API void spine_path_constraint_data_set_offset_rotation(spine_path_constraint_data self, float offsetRotation);
-SPINE_C_API const char* spine_path_constraint_data_get_name(spine_path_constraint_data self);
+SPINE_C_API const char * spine_path_constraint_data_get_name(spine_path_constraint_data self);
 SPINE_C_API bool spine_path_constraint_data_get_skin_required(spine_path_constraint_data self);
 SPINE_C_API spine_path_constraint_pose spine_path_constraint_data_get_setup_pose(spine_path_constraint_data self);
 SPINE_C_API void spine_path_constraint_data_set_skin_required(spine_path_constraint_data self, bool skinRequired);

+ 2 - 2
spine-c/src/generated/physics_constraint_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_physics_constraint_data spine_physics_constraint_data_create(const char* name) {
+spine_physics_constraint_data spine_physics_constraint_data_create(const char * name) {
     return (spine_physics_constraint_data) new (__FILE__, __LINE__) PhysicsConstraintData(String(name));
 }
 
@@ -139,7 +139,7 @@ void spine_physics_constraint_data_set_mix_global(spine_physics_constraint_data
     ((PhysicsConstraintData*)self)->setMixGlobal(mixGlobal);
 }
 
-const char* spine_physics_constraint_data_get_name(spine_physics_constraint_data self) {
+const char * spine_physics_constraint_data_get_name(spine_physics_constraint_data self) {
     return ((ConstraintDataGeneric<PhysicsConstraint, PhysicsConstraintPose>*)(PhysicsConstraintData*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/physics_constraint_data.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_physics_constraint_data spine_physics_constraint_data_create(const char* name);
+SPINE_C_API spine_physics_constraint_data spine_physics_constraint_data_create(const char * name);
 
 SPINE_C_API void spine_physics_constraint_data_dispose(spine_physics_constraint_data self);
 
@@ -44,7 +44,7 @@ SPINE_C_API bool spine_physics_constraint_data_get_gravity_global(spine_physics_
 SPINE_C_API void spine_physics_constraint_data_set_gravity_global(spine_physics_constraint_data self, bool gravityGlobal);
 SPINE_C_API bool spine_physics_constraint_data_get_mix_global(spine_physics_constraint_data self);
 SPINE_C_API void spine_physics_constraint_data_set_mix_global(spine_physics_constraint_data self, bool mixGlobal);
-SPINE_C_API const char* spine_physics_constraint_data_get_name(spine_physics_constraint_data self);
+SPINE_C_API const char * spine_physics_constraint_data_get_name(spine_physics_constraint_data self);
 SPINE_C_API bool spine_physics_constraint_data_get_skin_required(spine_physics_constraint_data self);
 SPINE_C_API spine_physics_constraint_pose spine_physics_constraint_data_get_setup_pose(spine_physics_constraint_data self);
 SPINE_C_API void spine_physics_constraint_data_set_skin_required(spine_physics_constraint_data self, bool skinRequired);

+ 3 - 3
spine-c/src/generated/point_attachment.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_point_attachment spine_point_attachment_create(const char* name) {
+spine_point_attachment spine_point_attachment_create(const char * name) {
     return (spine_point_attachment) new (__FILE__, __LINE__) PointAttachment(String(name));
 }
 
@@ -43,7 +43,7 @@ spine_color spine_point_attachment_get_color(spine_point_attachment self) {
     return (spine_color)&((PointAttachment*)self)->getColor();
 }
 
-void spine_point_attachment_compute_world_position(spine_point_attachment self, spine_bone_pose bone, float* ox, float* oy) {
+void spine_point_attachment_compute_world_position(spine_point_attachment self, spine_bone_pose bone, float * ox, float * oy) {
     ((PointAttachment*)self)->computeWorldPosition(*((BonePose*)bone), *ox, *oy);
 }
 
@@ -55,7 +55,7 @@ spine_attachment spine_point_attachment_copy(spine_point_attachment self) {
     return (spine_attachment)((PointAttachment*)self)->copy();
 }
 
-const char* spine_point_attachment_get_name(spine_point_attachment self) {
+const char * spine_point_attachment_get_name(spine_point_attachment self) {
     return ((Attachment*)(PointAttachment*)self)->getName().buffer();
 }
 

+ 3 - 3
spine-c/src/generated/point_attachment.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_point_attachment spine_point_attachment_create(const char* name);
+SPINE_C_API spine_point_attachment spine_point_attachment_create(const char * name);
 
 SPINE_C_API void spine_point_attachment_dispose(spine_point_attachment self);
 
@@ -20,10 +20,10 @@ SPINE_C_API void spine_point_attachment_set_y(spine_point_attachment self, float
 SPINE_C_API float spine_point_attachment_get_rotation(spine_point_attachment self);
 SPINE_C_API void spine_point_attachment_set_rotation(spine_point_attachment self, float inValue);
 SPINE_C_API spine_color spine_point_attachment_get_color(spine_point_attachment self);
-SPINE_C_API void spine_point_attachment_compute_world_position(spine_point_attachment self, spine_bone_pose bone, float* ox, float* oy);
+SPINE_C_API void spine_point_attachment_compute_world_position(spine_point_attachment self, spine_bone_pose bone, float * ox, float * oy);
 SPINE_C_API float spine_point_attachment_compute_world_rotation(spine_point_attachment self, spine_bone_pose bone);
 SPINE_C_API spine_attachment spine_point_attachment_copy(spine_point_attachment self);
-SPINE_C_API const char* spine_point_attachment_get_name(spine_point_attachment self);
+SPINE_C_API const char * spine_point_attachment_get_name(spine_point_attachment self);
 SPINE_C_API int spine_point_attachment_get_ref_count(spine_point_attachment self);
 SPINE_C_API void spine_point_attachment_reference(spine_point_attachment self);
 SPINE_C_API void spine_point_attachment_dereference(spine_point_attachment self);

+ 2 - 2
spine-c/src/generated/posed_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_posed_data spine_posed_data_create(const char* name) {
+spine_posed_data spine_posed_data_create(const char * name) {
     return (spine_posed_data) new (__FILE__, __LINE__) PosedData(String(name));
 }
 
@@ -11,7 +11,7 @@ void spine_posed_data_dispose(spine_posed_data self) {
     delete (PosedData*)self;
 }
 
-const char* spine_posed_data_get_name(spine_posed_data self) {
+const char * spine_posed_data_get_name(spine_posed_data self) {
     return ((PosedData*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/posed_data.h

@@ -8,11 +8,11 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_posed_data spine_posed_data_create(const char* name);
+SPINE_C_API spine_posed_data spine_posed_data_create(const char * name);
 
 SPINE_C_API void spine_posed_data_dispose(spine_posed_data self);
 
-SPINE_C_API const char* spine_posed_data_get_name(spine_posed_data self);
+SPINE_C_API const char * spine_posed_data_get_name(spine_posed_data self);
 SPINE_C_API bool spine_posed_data_get_skin_required(spine_posed_data self);
 SPINE_C_API void spine_posed_data_set_skin_required(spine_posed_data self, bool skinRequired);
 

+ 4 - 4
spine-c/src/generated/region_attachment.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_region_attachment spine_region_attachment_create(const char* name) {
+spine_region_attachment spine_region_attachment_create(const char * name) {
     return (spine_region_attachment) new (__FILE__, __LINE__) RegionAttachment(String(name));
 }
 
@@ -87,11 +87,11 @@ spine_color spine_region_attachment_get_color(spine_region_attachment self) {
     return (spine_color)&((RegionAttachment*)self)->getColor();
 }
 
-const char* spine_region_attachment_get_path(spine_region_attachment self) {
+const char * spine_region_attachment_get_path(spine_region_attachment self) {
     return ((RegionAttachment*)self)->getPath().buffer();
 }
 
-void spine_region_attachment_set_path(spine_region_attachment self, const char* inValue) {
+void spine_region_attachment_set_path(spine_region_attachment self, const char * inValue) {
     ((RegionAttachment*)self)->setPath(String(inValue));
 }
 
@@ -123,7 +123,7 @@ spine_attachment spine_region_attachment_copy(spine_region_attachment self) {
     return (spine_attachment)((RegionAttachment*)self)->copy();
 }
 
-const char* spine_region_attachment_get_name(spine_region_attachment self) {
+const char * spine_region_attachment_get_name(spine_region_attachment self) {
     return ((Attachment*)(RegionAttachment*)self)->getName().buffer();
 }
 

+ 4 - 4
spine-c/src/generated/region_attachment.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_region_attachment spine_region_attachment_create(const char* name);
+SPINE_C_API spine_region_attachment spine_region_attachment_create(const char * name);
 
 SPINE_C_API void spine_region_attachment_dispose(spine_region_attachment self);
 
@@ -31,8 +31,8 @@ SPINE_C_API void spine_region_attachment_set_width(spine_region_attachment self,
 SPINE_C_API float spine_region_attachment_get_height(spine_region_attachment self);
 SPINE_C_API void spine_region_attachment_set_height(spine_region_attachment self, float inValue);
 SPINE_C_API spine_color spine_region_attachment_get_color(spine_region_attachment self);
-SPINE_C_API const char* spine_region_attachment_get_path(spine_region_attachment self);
-SPINE_C_API void spine_region_attachment_set_path(spine_region_attachment self, const char* inValue);
+SPINE_C_API const char * spine_region_attachment_get_path(spine_region_attachment self);
+SPINE_C_API void spine_region_attachment_set_path(spine_region_attachment self, const char * inValue);
 SPINE_C_API spine_texture_region spine_region_attachment_get_region(spine_region_attachment self);
 SPINE_C_API void spine_region_attachment_set_region(spine_region_attachment self, spine_texture_region region);
 SPINE_C_API spine_sequence spine_region_attachment_get_sequence(spine_region_attachment self);
@@ -40,7 +40,7 @@ SPINE_C_API void spine_region_attachment_set_sequence(spine_region_attachment se
 SPINE_C_API spine_array_float spine_region_attachment_get_offset(spine_region_attachment self);
 SPINE_C_API spine_array_float spine_region_attachment_get_u_vs(spine_region_attachment self);
 SPINE_C_API spine_attachment spine_region_attachment_copy(spine_region_attachment self);
-SPINE_C_API const char* spine_region_attachment_get_name(spine_region_attachment self);
+SPINE_C_API const char * spine_region_attachment_get_name(spine_region_attachment self);
 SPINE_C_API int spine_region_attachment_get_ref_count(spine_region_attachment self);
 SPINE_C_API void spine_region_attachment_reference(spine_region_attachment self);
 SPINE_C_API void spine_region_attachment_dereference(spine_region_attachment self);

+ 2 - 2
spine-c/src/generated/sequence.cpp

@@ -19,8 +19,8 @@ void spine_sequence_apply(spine_sequence self, spine_slot_pose slot, spine_attac
     ((Sequence*)self)->apply((SlotPose *)slot, (Attachment *)attachment);
 }
 
-const char* spine_sequence_get_path(spine_sequence self, const char* basePath, int index) {
-    return (const char*)&((Sequence*)self)->getPath(String(basePath), index);
+const char * spine_sequence_get_path(spine_sequence self, const char * basePath, int index) {
+    return (const char *)&((Sequence*)self)->getPath(String(basePath), index);
 }
 
 int spine_sequence_get_id(spine_sequence self) {

+ 1 - 1
spine-c/src/generated/sequence.h

@@ -14,7 +14,7 @@ SPINE_C_API void spine_sequence_dispose(spine_sequence self);
 
 SPINE_C_API spine_sequence spine_sequence_copy(spine_sequence self);
 SPINE_C_API void spine_sequence_apply(spine_sequence self, spine_slot_pose slot, spine_attachment attachment);
-SPINE_C_API const char* spine_sequence_get_path(spine_sequence self, const char* basePath, int index);
+SPINE_C_API const char * spine_sequence_get_path(spine_sequence self, const char * basePath, int index);
 SPINE_C_API int spine_sequence_get_id(spine_sequence self);
 SPINE_C_API void spine_sequence_set_id(spine_sequence self, int id);
 SPINE_C_API int spine_sequence_get_start(spine_sequence self);

+ 8 - 8
spine-c/src/generated/skeleton.cpp

@@ -67,7 +67,7 @@ spine_bone spine_skeleton_get_root_bone(spine_skeleton self) {
     return (spine_bone)((Skeleton*)self)->getRootBone();
 }
 
-spine_bone spine_skeleton_find_bone(spine_skeleton self, const char* boneName) {
+spine_bone spine_skeleton_find_bone(spine_skeleton self, const char * boneName) {
     return (spine_bone)((Skeleton*)self)->findBone(String(boneName));
 }
 
@@ -75,7 +75,7 @@ spine_array_slot spine_skeleton_get_slots(spine_skeleton self) {
     return (spine_array_slot)&((Skeleton*)self)->getSlots();
 }
 
-spine_slot spine_skeleton_find_slot(spine_skeleton self, const char* slotName) {
+spine_slot spine_skeleton_find_slot(spine_skeleton self, const char * slotName) {
     return (spine_slot)((Skeleton*)self)->findSlot(String(slotName));
 }
 
@@ -87,7 +87,7 @@ spine_skin spine_skeleton_get_skin(spine_skeleton self) {
     return (spine_skin)((Skeleton*)self)->getSkin();
 }
 
-void spine_skeleton_set_skin_1(spine_skeleton self, const char* skinName) {
+void spine_skeleton_set_skin_1(spine_skeleton self, const char * skinName) {
     ((Skeleton*)self)->setSkin(String(skinName));
 }
 
@@ -95,15 +95,15 @@ void spine_skeleton_set_skin_2(spine_skeleton self, spine_skin newSkin) {
     ((Skeleton*)self)->setSkin((Skin *)newSkin);
 }
 
-spine_attachment spine_skeleton_get_attachment_1(spine_skeleton self, const char* slotName, const char* attachmentName) {
+spine_attachment spine_skeleton_get_attachment_1(spine_skeleton self, const char * slotName, const char * attachmentName) {
     return (spine_attachment)((Skeleton*)self)->getAttachment(String(slotName), String(attachmentName));
 }
 
-spine_attachment spine_skeleton_get_attachment_2(spine_skeleton self, int slotIndex, const char* attachmentName) {
+spine_attachment spine_skeleton_get_attachment_2(spine_skeleton self, int slotIndex, const char * attachmentName) {
     return (spine_attachment)((Skeleton*)self)->getAttachment(slotIndex, String(attachmentName));
 }
 
-void spine_skeleton_set_attachment(spine_skeleton self, const char* slotName, const char* attachmentName) {
+void spine_skeleton_set_attachment(spine_skeleton self, const char * slotName, const char * attachmentName) {
     ((Skeleton*)self)->setAttachment(String(slotName), String(attachmentName));
 }
 
@@ -115,11 +115,11 @@ spine_array_physics_constraint spine_skeleton_get_physics_constraints(spine_skel
     return (spine_array_physics_constraint)&((Skeleton*)self)->getPhysicsConstraints();
 }
 
-void spine_skeleton_get_bounds_1(spine_skeleton self, float* outX, float* outY, float* outWidth, float* outHeight, spine_array_float outVertexBuffer) {
+void spine_skeleton_get_bounds_1(spine_skeleton self, float * outX, float * outY, float * outWidth, float * outHeight, spine_array_float outVertexBuffer) {
     ((Skeleton*)self)->getBounds(*outX, *outY, *outWidth, *outHeight, *((Array<float>*)outVertexBuffer));
 }
 
-void spine_skeleton_get_bounds_2(spine_skeleton self, float* outX, float* outY, float* outWidth, float* outHeight, spine_array_float outVertexBuffer, spine_skeleton_clipping clipper) {
+void spine_skeleton_get_bounds_2(spine_skeleton self, float * outX, float * outY, float * outWidth, float * outHeight, spine_array_float outVertexBuffer, spine_skeleton_clipping clipper) {
     ((Skeleton*)self)->getBounds(*outX, *outY, *outWidth, *outHeight, *((Array<float>*)outVertexBuffer), (SkeletonClipping *)clipper);
 }
 

+ 8 - 8
spine-c/src/generated/skeleton.h

@@ -26,20 +26,20 @@ SPINE_C_API spine_skeleton_data spine_skeleton_get_data(spine_skeleton self);
 SPINE_C_API spine_array_bone spine_skeleton_get_bones(spine_skeleton self);
 SPINE_C_API spine_array_update spine_skeleton_get_update_cache(spine_skeleton self);
 SPINE_C_API spine_bone spine_skeleton_get_root_bone(spine_skeleton self);
-SPINE_C_API spine_bone spine_skeleton_find_bone(spine_skeleton self, const char* boneName);
+SPINE_C_API spine_bone spine_skeleton_find_bone(spine_skeleton self, const char * boneName);
 SPINE_C_API spine_array_slot spine_skeleton_get_slots(spine_skeleton self);
-SPINE_C_API spine_slot spine_skeleton_find_slot(spine_skeleton self, const char* slotName);
+SPINE_C_API spine_slot spine_skeleton_find_slot(spine_skeleton self, const char * slotName);
 SPINE_C_API spine_array_slot spine_skeleton_get_draw_order(spine_skeleton self);
 SPINE_C_API spine_skin spine_skeleton_get_skin(spine_skeleton self);
-SPINE_C_API void spine_skeleton_set_skin_1(spine_skeleton self, const char* skinName);
+SPINE_C_API void spine_skeleton_set_skin_1(spine_skeleton self, const char * skinName);
 SPINE_C_API void spine_skeleton_set_skin_2(spine_skeleton self, spine_skin newSkin);
-SPINE_C_API spine_attachment spine_skeleton_get_attachment_1(spine_skeleton self, const char* slotName, const char* attachmentName);
-SPINE_C_API spine_attachment spine_skeleton_get_attachment_2(spine_skeleton self, int slotIndex, const char* attachmentName);
-SPINE_C_API void spine_skeleton_set_attachment(spine_skeleton self, const char* slotName, const char* attachmentName);
+SPINE_C_API spine_attachment spine_skeleton_get_attachment_1(spine_skeleton self, const char * slotName, const char * attachmentName);
+SPINE_C_API spine_attachment spine_skeleton_get_attachment_2(spine_skeleton self, int slotIndex, const char * attachmentName);
+SPINE_C_API void spine_skeleton_set_attachment(spine_skeleton self, const char * slotName, const char * attachmentName);
 SPINE_C_API spine_array_constraint spine_skeleton_get_constraints(spine_skeleton self);
 SPINE_C_API spine_array_physics_constraint spine_skeleton_get_physics_constraints(spine_skeleton self);
-SPINE_C_API void spine_skeleton_get_bounds_1(spine_skeleton self, float* outX, float* outY, float* outWidth, float* outHeight, spine_array_float outVertexBuffer);
-SPINE_C_API void spine_skeleton_get_bounds_2(spine_skeleton self, float* outX, float* outY, float* outWidth, float* outHeight, spine_array_float outVertexBuffer, spine_skeleton_clipping clipper);
+SPINE_C_API void spine_skeleton_get_bounds_1(spine_skeleton self, float * outX, float * outY, float * outWidth, float * outHeight, spine_array_float outVertexBuffer);
+SPINE_C_API void spine_skeleton_get_bounds_2(spine_skeleton self, float * outX, float * outY, float * outWidth, float * outHeight, spine_array_float outVertexBuffer, spine_skeleton_clipping clipper);
 SPINE_C_API spine_color spine_skeleton_get_color(spine_skeleton self);
 SPINE_C_API void spine_skeleton_set_color_1(spine_skeleton self, spine_color color);
 SPINE_C_API void spine_skeleton_set_color_2(spine_skeleton self, float r, float g, float b, float a);

+ 2 - 2
spine-c/src/generated/skeleton_binary.cpp

@@ -19,7 +19,7 @@ spine_skeleton_data spine_skeleton_binary_read_skeleton_data(spine_skeleton_bina
     return (spine_skeleton_data)((SkeletonBinary*)self)->readSkeletonData(binary, length);
 }
 
-spine_skeleton_data spine_skeleton_binary_read_skeleton_data_file(spine_skeleton_binary self, const char* path) {
+spine_skeleton_data spine_skeleton_binary_read_skeleton_data_file(spine_skeleton_binary self, const char * path) {
     return (spine_skeleton_data)((SkeletonBinary*)self)->readSkeletonDataFile(String(path));
 }
 
@@ -27,6 +27,6 @@ void spine_skeleton_binary_set_scale(spine_skeleton_binary self, float scale) {
     ((SkeletonBinary*)self)->setScale(scale);
 }
 
-const char* spine_skeleton_binary_get_error(spine_skeleton_binary self) {
+const char * spine_skeleton_binary_get_error(spine_skeleton_binary self) {
     return ((SkeletonBinary*)self)->getError().buffer();
 }

+ 2 - 2
spine-c/src/generated/skeleton_binary.h

@@ -14,9 +14,9 @@ SPINE_C_API spine_skeleton_binary spine_skeleton_binary_create2(spine_attachment
 SPINE_C_API void spine_skeleton_binary_dispose(spine_skeleton_binary self);
 
 SPINE_C_API spine_skeleton_data spine_skeleton_binary_read_skeleton_data(spine_skeleton_binary self, const unsigned char * binary, int length);
-SPINE_C_API spine_skeleton_data spine_skeleton_binary_read_skeleton_data_file(spine_skeleton_binary self, const char* path);
+SPINE_C_API spine_skeleton_data spine_skeleton_binary_read_skeleton_data_file(spine_skeleton_binary self, const char * path);
 SPINE_C_API void spine_skeleton_binary_set_scale(spine_skeleton_binary self, float scale);
-SPINE_C_API const char* spine_skeleton_binary_get_error(spine_skeleton_binary self);
+SPINE_C_API const char * spine_skeleton_binary_get_error(spine_skeleton_binary self);
 
 #ifdef __cplusplus
 }

+ 15 - 15
spine-c/src/generated/skeleton_data.cpp

@@ -11,31 +11,31 @@ void spine_skeleton_data_dispose(spine_skeleton_data self) {
     delete (SkeletonData*)self;
 }
 
-spine_bone_data spine_skeleton_data_find_bone(spine_skeleton_data self, const char* boneName) {
+spine_bone_data spine_skeleton_data_find_bone(spine_skeleton_data self, const char * boneName) {
     return (spine_bone_data)((SkeletonData*)self)->findBone(String(boneName));
 }
 
-spine_slot_data spine_skeleton_data_find_slot(spine_skeleton_data self, const char* slotName) {
+spine_slot_data spine_skeleton_data_find_slot(spine_skeleton_data self, const char * slotName) {
     return (spine_slot_data)((SkeletonData*)self)->findSlot(String(slotName));
 }
 
-spine_skin spine_skeleton_data_find_skin(spine_skeleton_data self, const char* skinName) {
+spine_skin spine_skeleton_data_find_skin(spine_skeleton_data self, const char * skinName) {
     return (spine_skin)((SkeletonData*)self)->findSkin(String(skinName));
 }
 
-spine_event_data spine_skeleton_data_find_event(spine_skeleton_data self, const char* eventDataName) {
+spine_event_data spine_skeleton_data_find_event(spine_skeleton_data self, const char * eventDataName) {
     return (spine_event_data)((SkeletonData*)self)->findEvent(String(eventDataName));
 }
 
-spine_animation spine_skeleton_data_find_animation(spine_skeleton_data self, const char* animationName) {
+spine_animation spine_skeleton_data_find_animation(spine_skeleton_data self, const char * animationName) {
     return (spine_animation)((SkeletonData*)self)->findAnimation(String(animationName));
 }
 
-const char* spine_skeleton_data_get_name(spine_skeleton_data self) {
+const char * spine_skeleton_data_get_name(spine_skeleton_data self) {
     return ((SkeletonData*)self)->getName().buffer();
 }
 
-void spine_skeleton_data_set_name(spine_skeleton_data self, const char* inValue) {
+void spine_skeleton_data_set_name(spine_skeleton_data self, const char * inValue) {
     ((SkeletonData*)self)->setName(String(inValue));
 }
 
@@ -111,35 +111,35 @@ void spine_skeleton_data_set_reference_scale(spine_skeleton_data self, float inV
     ((SkeletonData*)self)->setReferenceScale(inValue);
 }
 
-const char* spine_skeleton_data_get_version(spine_skeleton_data self) {
+const char * spine_skeleton_data_get_version(spine_skeleton_data self) {
     return ((SkeletonData*)self)->getVersion().buffer();
 }
 
-void spine_skeleton_data_set_version(spine_skeleton_data self, const char* inValue) {
+void spine_skeleton_data_set_version(spine_skeleton_data self, const char * inValue) {
     ((SkeletonData*)self)->setVersion(String(inValue));
 }
 
-const char* spine_skeleton_data_get_hash(spine_skeleton_data self) {
+const char * spine_skeleton_data_get_hash(spine_skeleton_data self) {
     return ((SkeletonData*)self)->getHash().buffer();
 }
 
-void spine_skeleton_data_set_hash(spine_skeleton_data self, const char* inValue) {
+void spine_skeleton_data_set_hash(spine_skeleton_data self, const char * inValue) {
     ((SkeletonData*)self)->setHash(String(inValue));
 }
 
-const char* spine_skeleton_data_get_images_path(spine_skeleton_data self) {
+const char * spine_skeleton_data_get_images_path(spine_skeleton_data self) {
     return ((SkeletonData*)self)->getImagesPath().buffer();
 }
 
-void spine_skeleton_data_set_images_path(spine_skeleton_data self, const char* inValue) {
+void spine_skeleton_data_set_images_path(spine_skeleton_data self, const char * inValue) {
     ((SkeletonData*)self)->setImagesPath(String(inValue));
 }
 
-const char* spine_skeleton_data_get_audio_path(spine_skeleton_data self) {
+const char * spine_skeleton_data_get_audio_path(spine_skeleton_data self) {
     return ((SkeletonData*)self)->getAudioPath().buffer();
 }
 
-void spine_skeleton_data_set_audio_path(spine_skeleton_data self, const char* inValue) {
+void spine_skeleton_data_set_audio_path(spine_skeleton_data self, const char * inValue) {
     ((SkeletonData*)self)->setAudioPath(String(inValue));
 }
 

+ 15 - 15
spine-c/src/generated/skeleton_data.h

@@ -12,13 +12,13 @@ SPINE_C_API spine_skeleton_data spine_skeleton_data_create(void);
 
 SPINE_C_API void spine_skeleton_data_dispose(spine_skeleton_data self);
 
-SPINE_C_API spine_bone_data spine_skeleton_data_find_bone(spine_skeleton_data self, const char* boneName);
-SPINE_C_API spine_slot_data spine_skeleton_data_find_slot(spine_skeleton_data self, const char* slotName);
-SPINE_C_API spine_skin spine_skeleton_data_find_skin(spine_skeleton_data self, const char* skinName);
-SPINE_C_API spine_event_data spine_skeleton_data_find_event(spine_skeleton_data self, const char* eventDataName);
-SPINE_C_API spine_animation spine_skeleton_data_find_animation(spine_skeleton_data self, const char* animationName);
-SPINE_C_API const char* spine_skeleton_data_get_name(spine_skeleton_data self);
-SPINE_C_API void spine_skeleton_data_set_name(spine_skeleton_data self, const char* inValue);
+SPINE_C_API spine_bone_data spine_skeleton_data_find_bone(spine_skeleton_data self, const char * boneName);
+SPINE_C_API spine_slot_data spine_skeleton_data_find_slot(spine_skeleton_data self, const char * slotName);
+SPINE_C_API spine_skin spine_skeleton_data_find_skin(spine_skeleton_data self, const char * skinName);
+SPINE_C_API spine_event_data spine_skeleton_data_find_event(spine_skeleton_data self, const char * eventDataName);
+SPINE_C_API spine_animation spine_skeleton_data_find_animation(spine_skeleton_data self, const char * animationName);
+SPINE_C_API const char * spine_skeleton_data_get_name(spine_skeleton_data self);
+SPINE_C_API void spine_skeleton_data_set_name(spine_skeleton_data self, const char * inValue);
 SPINE_C_API spine_array_bone_data spine_skeleton_data_get_bones(spine_skeleton_data self);
 SPINE_C_API spine_array_slot_data spine_skeleton_data_get_slots(spine_skeleton_data self);
 SPINE_C_API spine_array_skin spine_skeleton_data_get_skins(spine_skeleton_data self);
@@ -37,14 +37,14 @@ SPINE_C_API float spine_skeleton_data_get_height(spine_skeleton_data self);
 SPINE_C_API void spine_skeleton_data_set_height(spine_skeleton_data self, float inValue);
 SPINE_C_API float spine_skeleton_data_get_reference_scale(spine_skeleton_data self);
 SPINE_C_API void spine_skeleton_data_set_reference_scale(spine_skeleton_data self, float inValue);
-SPINE_C_API const char* spine_skeleton_data_get_version(spine_skeleton_data self);
-SPINE_C_API void spine_skeleton_data_set_version(spine_skeleton_data self, const char* inValue);
-SPINE_C_API const char* spine_skeleton_data_get_hash(spine_skeleton_data self);
-SPINE_C_API void spine_skeleton_data_set_hash(spine_skeleton_data self, const char* inValue);
-SPINE_C_API const char* spine_skeleton_data_get_images_path(spine_skeleton_data self);
-SPINE_C_API void spine_skeleton_data_set_images_path(spine_skeleton_data self, const char* inValue);
-SPINE_C_API const char* spine_skeleton_data_get_audio_path(spine_skeleton_data self);
-SPINE_C_API void spine_skeleton_data_set_audio_path(spine_skeleton_data self, const char* inValue);
+SPINE_C_API const char * spine_skeleton_data_get_version(spine_skeleton_data self);
+SPINE_C_API void spine_skeleton_data_set_version(spine_skeleton_data self, const char * inValue);
+SPINE_C_API const char * spine_skeleton_data_get_hash(spine_skeleton_data self);
+SPINE_C_API void spine_skeleton_data_set_hash(spine_skeleton_data self, const char * inValue);
+SPINE_C_API const char * spine_skeleton_data_get_images_path(spine_skeleton_data self);
+SPINE_C_API void spine_skeleton_data_set_images_path(spine_skeleton_data self, const char * inValue);
+SPINE_C_API const char * spine_skeleton_data_get_audio_path(spine_skeleton_data self);
+SPINE_C_API void spine_skeleton_data_set_audio_path(spine_skeleton_data self, const char * inValue);
 SPINE_C_API float spine_skeleton_data_get_fps(spine_skeleton_data self);
 SPINE_C_API void spine_skeleton_data_set_fps(spine_skeleton_data self, float inValue);
 

+ 2 - 2
spine-c/src/generated/skeleton_json.cpp

@@ -15,7 +15,7 @@ void spine_skeleton_json_dispose(spine_skeleton_json self) {
     delete (SkeletonJson*)self;
 }
 
-spine_skeleton_data spine_skeleton_json_read_skeleton_data_file(spine_skeleton_json self, const char* path) {
+spine_skeleton_data spine_skeleton_json_read_skeleton_data_file(spine_skeleton_json self, const char * path) {
     return (spine_skeleton_data)((SkeletonJson*)self)->readSkeletonDataFile(String(path));
 }
 
@@ -27,6 +27,6 @@ void spine_skeleton_json_set_scale(spine_skeleton_json self, float scale) {
     ((SkeletonJson*)self)->setScale(scale);
 }
 
-const char* spine_skeleton_json_get_error(spine_skeleton_json self) {
+const char * spine_skeleton_json_get_error(spine_skeleton_json self) {
     return ((SkeletonJson*)self)->getError().buffer();
 }

+ 2 - 2
spine-c/src/generated/skeleton_json.h

@@ -13,10 +13,10 @@ SPINE_C_API spine_skeleton_json spine_skeleton_json_create2(spine_attachment_loa
 
 SPINE_C_API void spine_skeleton_json_dispose(spine_skeleton_json self);
 
-SPINE_C_API spine_skeleton_data spine_skeleton_json_read_skeleton_data_file(spine_skeleton_json self, const char* path);
+SPINE_C_API spine_skeleton_data spine_skeleton_json_read_skeleton_data_file(spine_skeleton_json self, const char * path);
 SPINE_C_API spine_skeleton_data spine_skeleton_json_read_skeleton_data(spine_skeleton_json self, const char * json);
 SPINE_C_API void spine_skeleton_json_set_scale(spine_skeleton_json self, float scale);
-SPINE_C_API const char* spine_skeleton_json_get_error(spine_skeleton_json self);
+SPINE_C_API const char * spine_skeleton_json_get_error(spine_skeleton_json self);
 
 #ifdef __cplusplus
 }

+ 5 - 5
spine-c/src/generated/skin.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_skin spine_skin_create(const char* name) {
+spine_skin spine_skin_create(const char * name) {
     return (spine_skin) new (__FILE__, __LINE__) Skin(String(name));
 }
 
@@ -11,15 +11,15 @@ void spine_skin_dispose(spine_skin self) {
     delete (Skin*)self;
 }
 
-void spine_skin_set_attachment(spine_skin self, size_t slotIndex, const char* name, spine_attachment attachment) {
+void spine_skin_set_attachment(spine_skin self, size_t slotIndex, const char * name, spine_attachment attachment) {
     ((Skin*)self)->setAttachment(slotIndex, String(name), (Attachment *)attachment);
 }
 
-spine_attachment spine_skin_get_attachment(spine_skin self, size_t slotIndex, const char* name) {
+spine_attachment spine_skin_get_attachment(spine_skin self, size_t slotIndex, const char * name) {
     return (spine_attachment)((Skin*)self)->getAttachment(slotIndex, String(name));
 }
 
-void spine_skin_remove_attachment(spine_skin self, size_t slotIndex, const char* name) {
+void spine_skin_remove_attachment(spine_skin self, size_t slotIndex, const char * name) {
     ((Skin*)self)->removeAttachment(slotIndex, String(name));
 }
 
@@ -27,7 +27,7 @@ void spine_skin_find_attachments_for_slot(spine_skin self, size_t slotIndex, spi
     ((Skin*)self)->findAttachmentsForSlot(slotIndex, *((Array<Attachment *>*)attachments));
 }
 
-const char* spine_skin_get_name(spine_skin self) {
+const char * spine_skin_get_name(spine_skin self) {
     return ((Skin*)self)->getName().buffer();
 }
 

+ 5 - 5
spine-c/src/generated/skin.h

@@ -8,15 +8,15 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_skin spine_skin_create(const char* name);
+SPINE_C_API spine_skin spine_skin_create(const char * name);
 
 SPINE_C_API void spine_skin_dispose(spine_skin self);
 
-SPINE_C_API void spine_skin_set_attachment(spine_skin self, size_t slotIndex, const char* name, spine_attachment attachment);
-SPINE_C_API spine_attachment spine_skin_get_attachment(spine_skin self, size_t slotIndex, const char* name);
-SPINE_C_API void spine_skin_remove_attachment(spine_skin self, size_t slotIndex, const char* name);
+SPINE_C_API void spine_skin_set_attachment(spine_skin self, size_t slotIndex, const char * name, spine_attachment attachment);
+SPINE_C_API spine_attachment spine_skin_get_attachment(spine_skin self, size_t slotIndex, const char * name);
+SPINE_C_API void spine_skin_remove_attachment(spine_skin self, size_t slotIndex, const char * name);
 SPINE_C_API void spine_skin_find_attachments_for_slot(spine_skin self, size_t slotIndex, spine_array_attachment attachments);
-SPINE_C_API const char* spine_skin_get_name(spine_skin self);
+SPINE_C_API const char * spine_skin_get_name(spine_skin self);
 SPINE_C_API void spine_skin_add_skin(spine_skin self, spine_skin other);
 SPINE_C_API void spine_skin_copy_skin(spine_skin self, spine_skin other);
 SPINE_C_API spine_array_bone_data spine_skin_get_bones(spine_skin self);

+ 2 - 2
spine-c/src/generated/slider_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_slider_data spine_slider_data_create(const char* name) {
+spine_slider_data spine_slider_data_create(const char * name) {
     return (spine_slider_data) new (__FILE__, __LINE__) SliderData(String(name));
 }
 
@@ -83,7 +83,7 @@ void spine_slider_data_set_local(spine_slider_data self, bool local) {
     ((SliderData*)self)->setLocal(local);
 }
 
-const char* spine_slider_data_get_name(spine_slider_data self) {
+const char * spine_slider_data_get_name(spine_slider_data self) {
     return ((ConstraintDataGeneric<Slider, SliderPose>*)(SliderData*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/slider_data.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_slider_data spine_slider_data_create(const char* name);
+SPINE_C_API spine_slider_data spine_slider_data_create(const char * name);
 
 SPINE_C_API void spine_slider_data_dispose(spine_slider_data self);
 
@@ -30,7 +30,7 @@ SPINE_C_API float spine_slider_data_get_offset(spine_slider_data self);
 SPINE_C_API void spine_slider_data_set_offset(spine_slider_data self, float offset);
 SPINE_C_API bool spine_slider_data_get_local(spine_slider_data self);
 SPINE_C_API void spine_slider_data_set_local(spine_slider_data self, bool local);
-SPINE_C_API const char* spine_slider_data_get_name(spine_slider_data self);
+SPINE_C_API const char * spine_slider_data_get_name(spine_slider_data self);
 SPINE_C_API bool spine_slider_data_get_skin_required(spine_slider_data self);
 SPINE_C_API spine_slider_pose spine_slider_data_get_setup_pose(spine_slider_data self);
 SPINE_C_API void spine_slider_data_set_skin_required(spine_slider_data self, bool skinRequired);

+ 4 - 4
spine-c/src/generated/slot_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_slot_data spine_slot_data_create(int index, const char* name, spine_bone_data boneData) {
+spine_slot_data spine_slot_data_create(int index, const char * name, spine_bone_data boneData) {
     return (spine_slot_data) new (__FILE__, __LINE__) SlotData(index, String(name), *((BoneData*)boneData));
 }
 
@@ -19,11 +19,11 @@ spine_bone_data spine_slot_data_get_bone_data(spine_slot_data self) {
     return (spine_bone_data)&((SlotData*)self)->getBoneData();
 }
 
-void spine_slot_data_set_attachment_name(spine_slot_data self, const char* attachmentName) {
+void spine_slot_data_set_attachment_name(spine_slot_data self, const char * attachmentName) {
     ((SlotData*)self)->setAttachmentName(String(attachmentName));
 }
 
-const char* spine_slot_data_get_attachment_name(spine_slot_data self) {
+const char * spine_slot_data_get_attachment_name(spine_slot_data self) {
     return ((SlotData*)self)->getAttachmentName().buffer();
 }
 
@@ -47,7 +47,7 @@ spine_slot_pose spine_slot_data_get_setup_pose(spine_slot_data self) {
     return (spine_slot_pose)&((PosedDataGeneric<SlotPose>*)(SlotData*)self)->getSetupPose();
 }
 
-const char* spine_slot_data_get_name(spine_slot_data self) {
+const char * spine_slot_data_get_name(spine_slot_data self) {
     return ((PosedDataGeneric<SlotPose>*)(SlotData*)self)->getName().buffer();
 }
 

+ 4 - 4
spine-c/src/generated/slot_data.h

@@ -8,20 +8,20 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_slot_data spine_slot_data_create(int index, const char* name, spine_bone_data boneData);
+SPINE_C_API spine_slot_data spine_slot_data_create(int index, const char * name, spine_bone_data boneData);
 
 SPINE_C_API void spine_slot_data_dispose(spine_slot_data self);
 
 SPINE_C_API int spine_slot_data_get_index(spine_slot_data self);
 SPINE_C_API spine_bone_data spine_slot_data_get_bone_data(spine_slot_data self);
-SPINE_C_API void spine_slot_data_set_attachment_name(spine_slot_data self, const char* attachmentName);
-SPINE_C_API const char* spine_slot_data_get_attachment_name(spine_slot_data self);
+SPINE_C_API void spine_slot_data_set_attachment_name(spine_slot_data self, const char * attachmentName);
+SPINE_C_API const char * spine_slot_data_get_attachment_name(spine_slot_data self);
 SPINE_C_API spine_blend_mode spine_slot_data_get_blend_mode(spine_slot_data self);
 SPINE_C_API void spine_slot_data_set_blend_mode(spine_slot_data self, spine_blend_mode blendMode);
 SPINE_C_API bool spine_slot_data_get_visible(spine_slot_data self);
 SPINE_C_API void spine_slot_data_set_visible(spine_slot_data self, bool visible);
 SPINE_C_API spine_slot_pose spine_slot_data_get_setup_pose(spine_slot_data self);
-SPINE_C_API const char* spine_slot_data_get_name(spine_slot_data self);
+SPINE_C_API const char * spine_slot_data_get_name(spine_slot_data self);
 SPINE_C_API bool spine_slot_data_get_skin_required(spine_slot_data self);
 SPINE_C_API void spine_slot_data_set_skin_required(spine_slot_data self, bool skinRequired);
 

+ 6 - 38
spine-c/src/generated/texture_region.cpp

@@ -11,6 +11,10 @@ void spine_texture_region_dispose(spine_texture_region self) {
     delete (TextureRegion*)self;
 }
 
+spine_rtti spine_texture_region_get_rtti(spine_texture_region self) {
+    return (spine_rtti)&((TextureRegion*)self)->getRTTI();
+}
+
 float spine_texture_region_get_u(spine_texture_region self) {
     return ((TextureRegion*)self)->getU();
 }
@@ -43,30 +47,6 @@ void spine_texture_region_set_v2(spine_texture_region self, float value) {
     ((TextureRegion*)self)->setV2(value);
 }
 
-int spine_texture_region_get_degrees(spine_texture_region self) {
-    return ((TextureRegion*)self)->getDegrees();
-}
-
-void spine_texture_region_set_degrees(spine_texture_region self, int value) {
-    ((TextureRegion*)self)->setDegrees(value);
-}
-
-float spine_texture_region_get_offset_x(spine_texture_region self) {
-    return ((TextureRegion*)self)->getOffsetX();
-}
-
-void spine_texture_region_set_offset_x(spine_texture_region self, float value) {
-    ((TextureRegion*)self)->setOffsetX(value);
-}
-
-float spine_texture_region_get_offset_y(spine_texture_region self) {
-    return ((TextureRegion*)self)->getOffsetY();
-}
-
-void spine_texture_region_set_offset_y(spine_texture_region self, float value) {
-    ((TextureRegion*)self)->setOffsetY(value);
-}
-
 int spine_texture_region_get_region_width(spine_texture_region self) {
     return ((TextureRegion*)self)->getRegionWidth();
 }
@@ -83,18 +63,6 @@ void spine_texture_region_set_region_height(spine_texture_region self, int value
     ((TextureRegion*)self)->setRegionHeight(value);
 }
 
-int spine_texture_region_get_original_width(spine_texture_region self) {
-    return ((TextureRegion*)self)->getOriginalWidth();
-}
-
-void spine_texture_region_set_original_width(spine_texture_region self, int value) {
-    ((TextureRegion*)self)->setOriginalWidth(value);
-}
-
-int spine_texture_region_get_original_height(spine_texture_region self) {
-    return ((TextureRegion*)self)->getOriginalHeight();
-}
-
-void spine_texture_region_set_original_height(spine_texture_region self, int value) {
-    ((TextureRegion*)self)->setOriginalHeight(value);
+spine_rtti spine_texture_region_rtti(void) {
+    return (spine_rtti)&TextureRegion::rtti;
 }

+ 2 - 10
spine-c/src/generated/texture_region.h

@@ -12,6 +12,7 @@ SPINE_C_API spine_texture_region spine_texture_region_create(void);
 
 SPINE_C_API void spine_texture_region_dispose(spine_texture_region self);
 
+SPINE_C_API spine_rtti spine_texture_region_get_rtti(spine_texture_region self);
 SPINE_C_API float spine_texture_region_get_u(spine_texture_region self);
 SPINE_C_API void spine_texture_region_set_u(spine_texture_region self, float value);
 SPINE_C_API float spine_texture_region_get_v(spine_texture_region self);
@@ -20,20 +21,11 @@ SPINE_C_API float spine_texture_region_get_u2(spine_texture_region self);
 SPINE_C_API void spine_texture_region_set_u2(spine_texture_region self, float value);
 SPINE_C_API float spine_texture_region_get_v2(spine_texture_region self);
 SPINE_C_API void spine_texture_region_set_v2(spine_texture_region self, float value);
-SPINE_C_API int spine_texture_region_get_degrees(spine_texture_region self);
-SPINE_C_API void spine_texture_region_set_degrees(spine_texture_region self, int value);
-SPINE_C_API float spine_texture_region_get_offset_x(spine_texture_region self);
-SPINE_C_API void spine_texture_region_set_offset_x(spine_texture_region self, float value);
-SPINE_C_API float spine_texture_region_get_offset_y(spine_texture_region self);
-SPINE_C_API void spine_texture_region_set_offset_y(spine_texture_region self, float value);
 SPINE_C_API int spine_texture_region_get_region_width(spine_texture_region self);
 SPINE_C_API void spine_texture_region_set_region_width(spine_texture_region self, int value);
 SPINE_C_API int spine_texture_region_get_region_height(spine_texture_region self);
 SPINE_C_API void spine_texture_region_set_region_height(spine_texture_region self, int value);
-SPINE_C_API int spine_texture_region_get_original_width(spine_texture_region self);
-SPINE_C_API void spine_texture_region_set_original_width(spine_texture_region self, int value);
-SPINE_C_API int spine_texture_region_get_original_height(spine_texture_region self);
-SPINE_C_API void spine_texture_region_set_original_height(spine_texture_region self, int value);
+SPINE_C_API spine_rtti spine_texture_region_rtti(void);
 
 #ifdef __cplusplus
 }

+ 2 - 2
spine-c/src/generated/transform_constraint_data.cpp

@@ -3,7 +3,7 @@
 
 using namespace spine;
 
-spine_transform_constraint_data spine_transform_constraint_data_create(const char* name) {
+spine_transform_constraint_data spine_transform_constraint_data_create(const char * name) {
     return (spine_transform_constraint_data) new (__FILE__, __LINE__) TransformConstraintData(String(name));
 }
 
@@ -115,7 +115,7 @@ spine_array_from_property spine_transform_constraint_data_get_properties(spine_t
     return (spine_array_from_property)&((TransformConstraintData*)self)->getProperties();
 }
 
-const char* spine_transform_constraint_data_get_name(spine_transform_constraint_data self) {
+const char * spine_transform_constraint_data_get_name(spine_transform_constraint_data self) {
     return ((ConstraintDataGeneric<TransformConstraint, TransformConstraintPose>*)(TransformConstraintData*)self)->getName().buffer();
 }
 

+ 2 - 2
spine-c/src/generated/transform_constraint_data.h

@@ -8,7 +8,7 @@
 extern "C" {
 #endif
 
-SPINE_C_API spine_transform_constraint_data spine_transform_constraint_data_create(const char* name);
+SPINE_C_API spine_transform_constraint_data spine_transform_constraint_data_create(const char * name);
 
 SPINE_C_API void spine_transform_constraint_data_dispose(spine_transform_constraint_data self);
 
@@ -38,7 +38,7 @@ SPINE_C_API void spine_transform_constraint_data_set_additive(spine_transform_co
 SPINE_C_API bool spine_transform_constraint_data_get_clamp(spine_transform_constraint_data self);
 SPINE_C_API void spine_transform_constraint_data_set_clamp(spine_transform_constraint_data self, bool clamp);
 SPINE_C_API spine_array_from_property spine_transform_constraint_data_get_properties(spine_transform_constraint_data self);
-SPINE_C_API const char* spine_transform_constraint_data_get_name(spine_transform_constraint_data self);
+SPINE_C_API const char * spine_transform_constraint_data_get_name(spine_transform_constraint_data self);
 SPINE_C_API bool spine_transform_constraint_data_get_skin_required(spine_transform_constraint_data self);
 SPINE_C_API spine_transform_constraint_pose spine_transform_constraint_data_get_setup_pose(spine_transform_constraint_data self);
 SPINE_C_API void spine_transform_constraint_data_set_skin_required(spine_transform_constraint_data self, bool skinRequired);

+ 1 - 1
spine-c/src/generated/vertex_attachment.cpp

@@ -59,7 +59,7 @@ void spine_vertex_attachment_copy_to(spine_vertex_attachment self, spine_vertex_
     ((VertexAttachment*)self)->copyTo((VertexAttachment *)other);
 }
 
-const char* spine_vertex_attachment_get_name(spine_vertex_attachment self) {
+const char * spine_vertex_attachment_get_name(spine_vertex_attachment self) {
     return ((Attachment*)(VertexAttachment*)self)->getName().buffer();
 }
 

+ 1 - 1
spine-c/src/generated/vertex_attachment.h

@@ -23,7 +23,7 @@ SPINE_C_API void spine_vertex_attachment_set_world_vertices_length(spine_vertex_
 SPINE_C_API spine_attachment spine_vertex_attachment_get_timeline_attachment(spine_vertex_attachment self);
 SPINE_C_API void spine_vertex_attachment_set_timeline_attachment(spine_vertex_attachment self, spine_attachment attachment);
 SPINE_C_API void spine_vertex_attachment_copy_to(spine_vertex_attachment self, spine_vertex_attachment other);
-SPINE_C_API const char* spine_vertex_attachment_get_name(spine_vertex_attachment self);
+SPINE_C_API const char * spine_vertex_attachment_get_name(spine_vertex_attachment self);
 SPINE_C_API spine_attachment spine_vertex_attachment_copy(spine_vertex_attachment self);
 SPINE_C_API int spine_vertex_attachment_get_ref_count(spine_vertex_attachment self);
 SPINE_C_API void spine_vertex_attachment_reference(spine_vertex_attachment self);