Skip to content

Commit

Permalink
Apply formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xezno authored and github-actions[bot] committed Apr 5, 2023
1 parent 2837fe0 commit a92d291
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions Source/MochaTool.InteropGen/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@ internal static class Utils
{
// Native type Managed type
//-------------------------------
{ "void", "void" },
{ "uint32_t", "uint" },
{ "int32_t", "int" },
{ "size_t", "uint" },

{ "char**", "ref string" },
{ "char **", "ref string" },
{ "char*", "string" },
{ "char *", "string" },
{ "void*", "IntPtr" },
{ "void *", "IntPtr" },
{ "void", "void" },
{ "uint32_t", "uint" },
{ "int32_t", "int" },
{ "size_t", "uint" },

{ "char**", "ref string" },
{ "char **", "ref string" },
{ "char*", "string" },
{ "char *", "string" },
{ "void*", "IntPtr" },
{ "void *", "IntPtr" },

// STL
{ "std::string", "/* UNSUPPORTED */ string" },
{ "std::string", "/* UNSUPPORTED */ string" },

// GLM
{ "glm::vec2", "Vector2" },
{ "glm::vec3", "Vector3" },
{ "glm::mat4", "Matrix4x4" },
{ "glm::quat", "Rotation" },
{ "glm::vec2", "Vector2" },
{ "glm::vec3", "Vector3" },
{ "glm::mat4", "Matrix4x4" },
{ "glm::quat", "Rotation" },

// Custom
{ "Quaternion", "Rotation" },
{ "InteropStruct", "IInteropArray" },
{ "Handle", "uint" }
{ "Quaternion", "Rotation" },
{ "InteropStruct", "IInteropArray" },
{ "Handle", "uint" }
};

/// <summary>
Expand Down

0 comments on commit a92d291

Please sign in to comment.