Skip to content

A collection of random, more or less useful C preprocessor macros

License

Notifications You must be signed in to change notification settings

rolandbernard/cmacros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C macros

A collection of random, more or less useful C preprocessor macros.

Usage

This repository can be used either as a library of includes or as a reference when trying to implement a specific macro.

A lot of the macros depend on __VA_OPT__ support. This has been added to the standard in C++20 but is also available in gcc and clang for C.

Development

There are two directories in this repository:

  • src/ This directory is for all the code of the header files.
  • tests/ This directory contains some minimal tests.

About

A collection of random, more or less useful C preprocessor macros

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages