mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 14:40:49 +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>
|
||||
</dd>
|
||||
<dd>
|
||||
<a href="#Mw_Error_h__MwGetLastError__">MwGetLastError()</a>
|
||||
<a href="#Mw_Error_h__MwGetLastError">MwGetLastError</a>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href="#Mw_Font_h">Mw/Font.h</a>
|
||||
@@ -1501,7 +1501,9 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<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>
|
||||
<dd>
|
||||
Get the last error.
|
||||
|
||||
@@ -25,6 +25,6 @@ typedef enum MwErrorEnum_T {
|
||||
/*!
|
||||
* %brief Get the last error
|
||||
*/
|
||||
MWDECL const char* MwGetLastError();
|
||||
MWDECL const char* MwGetLastError(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// buffer for holding the error. +1 to ensure there's always a null terminator.
|
||||
char error[MAX_ERROR_LEN + 1] = {0};
|
||||
|
||||
const char* MwGetLastError() {
|
||||
const char* MwGetLastError(void) {
|
||||
return error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user