xtralib  0.1.0
A simple header-based drop-in library
Data Structures | Macros | Typedefs | Functions
data.h File Reference

Includes several data strucutes such as maps, vectors, and matricies. More...

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>

Go to the source code of this file.

Data Structures

struct  vec2
 
struct  Map
 
struct  wcs_dynarr_t
 

Macros

#define MAX_DATASTRUCT_STRSIZ   100
 
#define MAP_MAX   100
 

Typedefs

typedef struct vec2 vec2
 
typedef struct Map Map
 
typedef struct wcs_dynarr_t wcs_dynarr_t
 

Functions

vec2 vec2_init (int x, int y)
 
MapMapInit ()
 
void MapInsert (Map *m, char key[], int value)
 
int MapGet (Map *m, char key[])
 
void MapPrint (Map *m)
 
void MapFree (Map *m)
 
wcs_dynarr_twcs_dynarr_init ()
 
void wcs_dynarr_kill (wcs_dynarr_t *arr)
 
void wcs_dynarr_push (wcs_dynarr_t *arr, wchar_t *item)
 

Detailed Description

Includes several data strucutes such as maps, vectors, and matricies.

Author
yung-turabian
Date
4 6 2024