Explorar o código

StreamWriter: add a PutChar method to write a single char.

Tommy %!s(int64=7) %!d(string=hai) anos
pai
achega
e549705af0
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      include/assimp/StreamWriter.h

+ 6 - 0
include/assimp/StreamWriter.h

@@ -203,6 +203,12 @@ public:
         Put(n);
     }
 
+    // ---------------------------------------------------------------------
+    /** Write a single character to the stream */
+    void PutChar(char c)    {
+        Put(c);
+    }
+
     // ---------------------------------------------------------------------
     /** Write an aiString to the stream */
     void PutString(const aiString& s)