소스 검색

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

Tommy 7 년 전
부모
커밋
e549705af0
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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)