@@ -58,32 +58,32 @@ extern "c"
5858
5959type fpos_t as longint
6060
61- declare function snprintf ( byval as zstring ptr, byval as size_t, byval as zstring ptr, ...) as long
62- declare function vsnprintf ( byval as zstring ptr, byval as size_t, byval as zstring ptr, byval as va_list) as long
63- declare function popen ( byval as zstring ptr, byval as zstring ptr) as FILE ptr
61+ declare function snprintf ( byval as zstring ptr, byval as size_t, byval as const zstring ptr, ...) as long
62+ declare function vsnprintf ( byval as zstring ptr, byval as size_t, byval as const zstring ptr, byval as va_list) as long
63+ declare function popen ( byval as const zstring ptr, byval as const zstring ptr) as FILE ptr
6464declare function pclose ( byval as FILE ptr) as long
6565declare function _flushall () as long
6666declare function _fgetchar () as long
6767declare function _fputchar ( byval as long ) as long
68- declare function _fdopen ( byval as long , byval as zstring ptr) as FILE ptr
68+ declare function _fdopen ( byval as long , byval as const zstring ptr) as FILE ptr
6969declare function _fileno ( byval as FILE ptr) as long
7070declare function _fcloseall () as long
7171declare function _getmaxstdio () as long
7272declare function _setmaxstdio ( byval as long ) as long
73- declare function _snwprintf ( byval as wchar_t ptr, byval as size_t, byval as wchar_t ptr, ...) as long
74- declare function _vsnwprintf ( byval as wchar_t ptr, byval as size_t, byval as wchar_t ptr, byval as va_list) as long
73+ declare function _snwprintf ( byval as wchar_t ptr, byval as size_t, byval as const wchar_t ptr, ...) as long
74+ declare function _vsnwprintf ( byval as wchar_t ptr, byval as size_t, byval as const wchar_t ptr, byval as va_list) as long
7575declare function _getws ( byval as wchar_t ptr) as wchar_t ptr
76- declare function _putws ( byval as wchar_t ptr) as long
77- declare function _wfdopen ( byval as long , byval as wchar_t ptr) as FILE ptr
78- declare function _wfopen ( byval as wchar_t ptr, byval as wchar_t ptr) as FILE ptr
79- declare function _wfreopen ( byval as wchar_t ptr, byval as wchar_t ptr, byval as FILE ptr) as FILE ptr
80- declare function _wfsopen ( byval as wchar_t ptr, byval as wchar_t ptr, byval as long ) as FILE ptr
76+ declare function _putws ( byval as const wchar_t ptr) as long
77+ declare function _wfdopen ( byval as long , byval as const wchar_t ptr) as FILE ptr
78+ declare function _wfopen ( byval as const wchar_t ptr, byval as const wchar_t ptr) as FILE ptr
79+ declare function _wfreopen ( byval as const wchar_t ptr, byval as const wchar_t ptr, byval as FILE ptr) as FILE ptr
80+ declare function _wfsopen ( byval as const wchar_t ptr, byval as const wchar_t ptr, byval as long ) as FILE ptr
8181declare function _wtmpnam ( byval as wchar_t ptr) as wchar_t ptr
8282declare function _wtempnam ( byval as wchar_t ptr, byval as wchar_t ptr) as wchar_t ptr
83- declare function _wrename ( byval as wchar_t ptr, byval as wchar_t ptr) as long
84- declare function _wremove ( byval as wchar_t ptr) as long
85- declare sub _wperror ( byval as wchar_t ptr)
86- declare function _wpopen ( byval as wchar_t ptr, byval as wchar_t ptr) as FILE ptr
83+ declare function _wrename ( byval as const wchar_t ptr, byval as const wchar_t ptr) as long
84+ declare function _wremove ( byval as const wchar_t ptr) as long
85+ declare sub _wperror ( byval as const wchar_t ptr)
86+ declare function _wpopen ( byval as const wchar_t ptr, byval as const wchar_t ptr) as FILE ptr
8787declare function _fgetwchar () as wint_t
8888declare function _fputwchar ( byval as wint_t) as wint_t
8989declare function _tempnam ( byval as zstring ptr, byval as zstring ptr) as zstring ptr
0 commit comments