add function diary
[scilab.git] / scilab / modules / output_stream / src / cpp / diary_manager.cpp
index a030440..4eeec22 100644 (file)
@@ -245,7 +245,7 @@ int diaryAppend(wchar_t *filename)
        return -1;
 }
 /*--------------------------------------------------------------------------*/
-int diaryWrite(wchar_t *wstr, BOOL bInput)
+int diaryWrite(const wchar_t *wstr, BOOL bInput)
 {
        if (SCIDIARY)
        {
@@ -256,7 +256,7 @@ int diaryWrite(wchar_t *wstr, BOOL bInput)
        return 1;
 }
 /*--------------------------------------------------------------------------*/
-int diaryWriteln(wchar_t *wstr, BOOL bInput)
+int diaryWriteln(const wchar_t *wstr, BOOL bInput)
 {
        if (SCIDIARY)
        {