Skip to content

Grillo-0/bed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bed

Embed files into your C applications

This was inspired by one of the Tsoding livestreams about muzializer where he creates a application with the same ideia.

Usage

First you run the bed command to generate the .c file

$ ./bed <files>... > resource.c

Next, you use the bed_get() function, test.c is a example on how to do it.

You can optionally add an prefix to the function with '-p' flag, test_prefix.c shows how to use this on code.

$ ./bed -p <prefix> <files>... > resource.c

How to Build

$ make

How to Test

$ make test

About

Embed files into your C applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published