From e549705af0aa53a611a7739aa5567b392e4bea63 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 28 Mar 2018 21:38:22 +0200 Subject: [PATCH] StreamWriter: add a PutChar method to write a single char. --- include/assimp/StreamWriter.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/assimp/StreamWriter.h b/include/assimp/StreamWriter.h index 6f492df90..5ce3b172b 100644 --- a/include/assimp/StreamWriter.h +++ b/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)