Skip to content

Dogma for C

Project license C compatibility Continuous integration

https://dogma.dev

Prerequisites

Installation

Installation from Source Code

$ git clone https://github.com/dogmatists/dogma.c.git

$ cd dogma.c

$ sudo make install

Examples

Including the header file

#include <dogma.h>

Checking the library version

printf("Dogma for C %d.%d.%d\n",
    DOGMA_VERSION_MAJOR, DOGMA_VERSION_MINOR, DOGMA_VERSION_PATCH);

Miscellaneous examples

Reference

Constants

  • DOGMA_VERSION_MAJOR
  • DOGMA_VERSION_MINOR
  • DOGMA_VERSION_PATCH

Enums

Structs

Functions

  • AngleFromDegrees
  • AngleFromRadians
  • AngleFromTurns
  • AngleToDegrees
  • AngleToRadians
  • AngleToTurns
  • Latitude
  • LatitudeToDegrees
  • Longitude
  • LongitudeToDegrees

See Also

Dogma for C++, Dart, Protobuf, Python, Ruby, and Zig.