introduce MWAPI
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
77ca92452e
commit
2dd2c3870f
41 changed files with 189 additions and 166 deletions
|
|
@ -17,32 +17,32 @@ extern "C" {
|
|||
* @param path Path
|
||||
* @return Handle
|
||||
*/
|
||||
MWDECL void* MwDirectoryOpen(const char* path);
|
||||
MWDECL void* MWAPI MwDirectoryOpen(const char* path);
|
||||
|
||||
/*!
|
||||
* @brief Closes a directory
|
||||
* @param handle Handle
|
||||
*/
|
||||
MWDECL void MwDirectoryClose(void* handle);
|
||||
MWDECL void MWAPI MwDirectoryClose(void* handle);
|
||||
|
||||
/*!
|
||||
* @brief Reads a directory
|
||||
* @param handle Handle
|
||||
* @return Directory entry
|
||||
*/
|
||||
MWDECL MwDirectoryEntry* MwDirectoryRead(void* handle);
|
||||
MWDECL MwDirectoryEntry* MWAPI MwDirectoryRead(void* handle);
|
||||
|
||||
/*!
|
||||
* @brief Frees a directory entry
|
||||
* @param entry Entry
|
||||
*/
|
||||
MWDECL void MwDirectoryFreeEntry(MwDirectoryEntry* entry);
|
||||
MWDECL void MWAPI MwDirectoryFreeEntry(MwDirectoryEntry* entry);
|
||||
|
||||
/*!
|
||||
* @brief Gets a current directory
|
||||
* @param Directory
|
||||
*/
|
||||
MWDECL char* MwDirectoryCurrent(void);
|
||||
MWDECL char* MWAPI MwDirectoryCurrent(void);
|
||||
|
||||
/*!
|
||||
* @brief Joins 2 paths
|
||||
|
|
@ -50,7 +50,7 @@ MWDECL char* MwDirectoryCurrent(void);
|
|||
* @param b Path
|
||||
* @return Path
|
||||
*/
|
||||
MWDECL char* MwDirectoryJoin(char* a, char* b);
|
||||
MWDECL char* MWAPI MwDirectoryJoin(char* a, char* b);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,20 +16,20 @@ extern "C" {
|
|||
* @param path Path
|
||||
* @return Handle
|
||||
*/
|
||||
MWDECL void* MwDynamicOpen(const char* path);
|
||||
MWDECL void* MWAPI MwDynamicOpen(const char* path);
|
||||
|
||||
/*!
|
||||
* @brief Gets a symbol from the dynamic library
|
||||
* @param handle Handle
|
||||
* @param symbol Symbol
|
||||
*/
|
||||
MWDECL void* MwDynamicSymbol(void* handle, const char* symbol);
|
||||
MWDECL void* MWAPI MwDynamicSymbol(void* handle, const char* symbol);
|
||||
|
||||
/*!
|
||||
* @brief Closes a dynamic library
|
||||
* @param handle Handle
|
||||
*/
|
||||
MWDECL void MwDynamicClose(void* handle);
|
||||
MWDECL void MWAPI MwDynamicClose(void* handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,13 +15,13 @@ extern "C" {
|
|||
* @brief Sleeps for milliseconds
|
||||
* @param ms Milliseconds
|
||||
*/
|
||||
MWDECL void MwTimeSleep(int ms);
|
||||
MWDECL void MWAPI MwTimeSleep(int ms);
|
||||
|
||||
/*!
|
||||
* @brief Gets a monotonic time
|
||||
* @return Monotonic time
|
||||
*/
|
||||
MWDECL long MwTimeGetTick(void);
|
||||
MWDECL long MWAPI MwTimeGetTick(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue