Skip to content

FabianHahn/fakeglib

Repository files navigation

Build Status

fakeglib

A partial implementation of glib's C API in C++.

Why?

C is a great programming language, but generally lacks a standard library of common dynamic data structures such as strings, lists, or maps with a native C API. The GNOME project's glib is a notable exception to this rule, and is pretty fantastic for developing C on Linux. However, it comes with its own dependencies and uses automake as build tool, making it annoying (though not impossible) to build and link on non-UNIX platforms such as Windows. This projects aims to alleviate this issue by providing a self-contained partial implementation of glib's C API implemented in C++ - thus the name fakeglib.

The requirements for fakeglib are:

  • Self-contained: Must not depend on any thirdparty code.
  • Cross-platform: Must build on at least Linux and Windows.
  • Native development: Uses CMake to generate native build files for each supported platform.

What?

fakeglib currently implements the following parts of glib's C API:

About

A fake implementation of parts of the glib API in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published