Skip to content

San7o/micro-example.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micro-example.h
===============

An example header-only library in C99 used as a template project,
in the style of the great micro-headers.

Author:  Giovanni Santini
Mail:    giovanni.santini@proton.me
Github:  @San7o


Example
-------


    int main(void)
    {
        micro_example_hello();
        return 0;
    }


Usage
-----

Do this:

  #define MICRO_EXAMPLE_IMPLEMENTATION

before you include this file in *one* C or C++ file to create the
implementation.

i.e. it should look like this:

  #include ...
  #include ...
  #include ...
  #define MICRO_EXAMPLE_IMPLEMENTATION
  #include "micro-example.h"

You can tune the library by #defining certain values. See the
"Config" comments under "Configuration" below.


Code
----

The official git repository of micro-example.h is hosted at:

    https://github.com/San7o/micro-example.h

This is part of a bigger collection of header-only C99 libraries
called "micro-headers", contributions are welcome:

    https://github.com/San7o/micro-headers

About

An example header-only library in C99 used as a template project, in the style of the great micro-headers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors