generate pkgconfig file (don't commit yet i fucked it up)
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
IoI_xD 2026-07-15 17:32:53 -07:00
commit c705d2b98c
375 changed files with 203503 additions and 203476 deletions

View file

@ -1,22 +1,22 @@
/*!
* @file Mw/Abstract/CharSet.h
* @brief CharSet
*/
#ifndef __MW_ABSTRACT_CHARSET_H__
#define __MW_ABSTRACT_CHARSET_H__
#include <Mw/MachDep.h>
#ifdef __cplusplus
extern "C" {
#endif
MWDECL char* MWAPI MwACPToUTF8(const char* input);
MWDECL char* MWAPI MwUTF8ToACP(const char* input);
#ifdef __cplusplus
}
#endif
#endif
/*!
* @file Mw/Abstract/CharSet.h
* @brief CharSet
*/
#ifndef __MW_ABSTRACT_CHARSET_H__
#define __MW_ABSTRACT_CHARSET_H__
#include <Mw/MachDep.h>
#ifdef __cplusplus
extern "C" {
#endif
MWDECL char* MWAPI MwACPToUTF8(const char* input);
MWDECL char* MWAPI MwUTF8ToACP(const char* input);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -1,59 +1,59 @@
/*!
* @file Mw/Abstract/Directory.h
* @brief Directory functions
*/
#ifndef __MW_ABSTRACT_DIRECTORY_H__
#define __MW_ABSTRACT_DIRECTORY_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Opens a directory
* @param path Path
* @return Handle
*/
MWDECL void* MWAPI MwDirectoryOpen(const char* path);
/*!
* @brief Closes a directory
* @param handle Handle
*/
MWDECL void MWAPI MwDirectoryClose(void* handle);
/*!
* @brief Reads a directory
* @param handle Handle
* @return Directory entry
*/
MWDECL MwDirectoryEntry* MWAPI MwDirectoryRead(void* handle);
/*!
* @brief Frees a directory entry
* @param entry Entry
*/
MWDECL void MWAPI MwDirectoryFreeEntry(MwDirectoryEntry* entry);
/*!
* @brief Gets a current directory
* @param Directory
*/
MWDECL char* MWAPI MwDirectoryCurrent(void);
/*!
* @brief Joins 2 paths
* @param a Path
* @param b Path
* @return Path
*/
MWDECL char* MWAPI MwDirectoryJoin(char* a, char* b);
#ifdef __cplusplus
}
#endif
#endif
/*!
* @file Mw/Abstract/Directory.h
* @brief Directory functions
*/
#ifndef __MW_ABSTRACT_DIRECTORY_H__
#define __MW_ABSTRACT_DIRECTORY_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Opens a directory
* @param path Path
* @return Handle
*/
MWDECL void* MWAPI MwDirectoryOpen(const char* path);
/*!
* @brief Closes a directory
* @param handle Handle
*/
MWDECL void MWAPI MwDirectoryClose(void* handle);
/*!
* @brief Reads a directory
* @param handle Handle
* @return Directory entry
*/
MWDECL MwDirectoryEntry* MWAPI MwDirectoryRead(void* handle);
/*!
* @brief Frees a directory entry
* @param entry Entry
*/
MWDECL void MWAPI MwDirectoryFreeEntry(MwDirectoryEntry* entry);
/*!
* @brief Gets a current directory
* @param Directory
*/
MWDECL char* MWAPI MwDirectoryCurrent(void);
/*!
* @brief Joins 2 paths
* @param a Path
* @param b Path
* @return Path
*/
MWDECL char* MWAPI MwDirectoryJoin(char* a, char* b);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -1,38 +1,38 @@
/*!
* @file Mw/Abstract/Dynamic.h
* @brief Dynamic library
*/
#ifndef __MW_ABSTRACT_DYNAMIC_H__
#define __MW_ABSTRACT_DYNAMIC_H__
#include <Mw/MachDep.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Opens a dynamic library
* @param path Path
* @return Handle
*/
MWDECL void* MWAPI MwDynamicOpen(const char* path);
/*!
* @brief Gets a symbol from the dynamic library
* @param handle Handle
* @param symbol Symbol
*/
MWDECL void* MWAPI MwDynamicSymbol(void* handle, const char* symbol);
/*!
* @brief Closes a dynamic library
* @param handle Handle
*/
MWDECL void MWAPI MwDynamicClose(void* handle);
#ifdef __cplusplus
}
#endif
#endif
/*!
* @file Mw/Abstract/Dynamic.h
* @brief Dynamic library
*/
#ifndef __MW_ABSTRACT_DYNAMIC_H__
#define __MW_ABSTRACT_DYNAMIC_H__
#include <Mw/MachDep.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Opens a dynamic library
* @param path Path
* @return Handle
*/
MWDECL void* MWAPI MwDynamicOpen(const char* path);
/*!
* @brief Gets a symbol from the dynamic library
* @param handle Handle
* @param symbol Symbol
*/
MWDECL void* MWAPI MwDynamicSymbol(void* handle, const char* symbol);
/*!
* @brief Closes a dynamic library
* @param handle Handle
*/
MWDECL void MWAPI MwDynamicClose(void* handle);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -1,30 +1,30 @@
/*!
* @file Mw/Abstract/Time.h
* @brief Time
*/
#ifndef __MW_ABSTRACT_TIME_H__
#define __MW_ABSTRACT_TIME_H__
#include <Mw/MachDep.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Sleeps for milliseconds
* @param ms Milliseconds
*/
MWDECL void MWAPI MwTimeSleep(int ms);
/*!
* @brief Gets a monotonic time
* @return Monotonic time
*/
MWDECL long MWAPI MwTimeGetTick(void);
#ifdef __cplusplus
}
#endif
#endif
/*!
* @file Mw/Abstract/Time.h
* @brief Time
*/
#ifndef __MW_ABSTRACT_TIME_H__
#define __MW_ABSTRACT_TIME_H__
#include <Mw/MachDep.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Sleeps for milliseconds
* @param ms Milliseconds
*/
MWDECL void MWAPI MwTimeSleep(int ms);
/*!
* @brief Gets a monotonic time
* @return Monotonic time
*/
MWDECL long MWAPI MwTimeGetTick(void);
#ifdef __cplusplus
}
#endif
#endif