mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-07 01:49:47 +00:00
fix arg
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@196 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -165,7 +165,7 @@
|
|||||||
<a href="#Mw_Error_h___MwEerror"> MwEerror</a>
|
<a href="#Mw_Error_h___MwEerror"> MwEerror</a>
|
||||||
</dd>
|
</dd>
|
||||||
<dd>
|
<dd>
|
||||||
<a href="#Mw_Error_h__MwGetLastError__">MwGetLastError()</a>
|
<a href="#Mw_Error_h__MwGetLastError">MwGetLastError</a>
|
||||||
</dd>
|
</dd>
|
||||||
<dt>
|
<dt>
|
||||||
<a href="#Mw_Font_h">Mw/Font.h</a>
|
<a href="#Mw_Font_h">Mw/Font.h</a>
|
||||||
@@ -1501,7 +1501,9 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<hr>
|
<hr>
|
||||||
<pre id="Mw_Error_h__MwGetLastError__">MWDECL <B><FONT COLOR="#228B22">const</FONT></B> <B><FONT COLOR="#228B22">char</FONT></B>* <B><FONT COLOR="#0000FF">MwGetLastError</FONT></B>();</pre>
|
<pre id="Mw_Error_h__MwGetLastError">MWDECL <B><FONT COLOR="#228B22">const</FONT></B> <B><FONT COLOR="#228B22">char</FONT></B>* <B><FONT COLOR="#0000FF">MwGetLastError</FONT></B> (
|
||||||
|
<B><FONT COLOR="#228B22">void</FONT></B>
|
||||||
|
);</pre>
|
||||||
<dl>
|
<dl>
|
||||||
<dd>
|
<dd>
|
||||||
Get the last error.
|
Get the last error.
|
||||||
|
|||||||
@@ -25,6 +25,6 @@ typedef enum MwErrorEnum_T {
|
|||||||
/*!
|
/*!
|
||||||
* %brief Get the last error
|
* %brief Get the last error
|
||||||
*/
|
*/
|
||||||
MWDECL const char* MwGetLastError();
|
MWDECL const char* MwGetLastError(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
// buffer for holding the error. +1 to ensure there's always a null terminator.
|
// buffer for holding the error. +1 to ensure there's always a null terminator.
|
||||||
char error[MAX_ERROR_LEN + 1] = {0};
|
char error[MAX_ERROR_LEN + 1] = {0};
|
||||||
|
|
||||||
const char* MwGetLastError() {
|
const char* MwGetLastError(void) {
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user