miqt/libmiqt/libmiqt.h
Jacek Sieka 765592cca2 Small fixes
* `stdlib` is not used / needed
* `miqt_strdup` doesn't exist
* consistently use nameprefix for `_ret`
2025-01-07 09:29:45 +01:00

34 lines
390 B
C

#pragma once
#ifndef MIQT_LIBMIQT_LIBMIQT_H
#define MIQT_LIBMIQT_LIBMIQT_H
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
struct miqt_string {
size_t len;
char* data;
};
struct miqt_array {
size_t len;
void* data;
};
struct miqt_map {
size_t len;
void* keys;
void* values;
};
typedef const char const_char;
#ifdef __cplusplus
}
#endif
#endif