Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

solson/dynconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynconf

A simple demo for dynamically loading a shared library and running a function in it. This could be used for configuring something like a window manager by having the WM automatically rebuild and reload the user's config code in C, C++, Rust, or some other native-code language.

Running the demo

Build and run dynconf_demo:

make
./dynconf_demo

Hit enter to make it rebuild and reload libconfig.so and run the dynconf_init function. Try editing config.c while it's running and hitting enter to see your changes take effect without recompiling main.c.

License

Licensed under the ISC license. See the LICENSE file.

About

A simple demo for dynamically loading a shared library in a loop.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors