Skip to content

ironx1/Small_Initializer_For_C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small Initializer For C Programming Language

This repository contains a small and lightweight initializer for C programs

Usage

To use initalizer you must include "ky_interface.h"
Use iky_INITIALIZE macro to allocate memory and initialize values.
iky_INITIALIZE macro is variadic macro this is why you need at least c99 standard to compile the code.
When using the iky_INITIALIZE macro, you must specify as the first parameter for which type memory space will be allocated, then you can enter the values.
You must use the iky_FREE macro to free the allocated memory.

Exlampe

See test.c for an example.

Releases

No releases published

Packages

No packages published