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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue