From a92d29182e3aa2418a4fe9b0484daef36f167f89 Mon Sep 17 00:00:00 2001 From: xezno Date: Wed, 5 Apr 2023 02:20:00 +0000 Subject: [PATCH] Apply formatting fixes --- Source/MochaTool.InteropGen/Utils.cs | 38 ++++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Source/MochaTool.InteropGen/Utils.cs b/Source/MochaTool.InteropGen/Utils.cs index e7153969..3bdb93b8 100644 --- a/Source/MochaTool.InteropGen/Utils.cs +++ b/Source/MochaTool.InteropGen/Utils.cs @@ -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" } }; ///