C · Installation

Installation

#include <ucall/types.h> 1.0.0-rc.1 · 60202332

Link ucall::static or ucall::shared, each a single library containing every enabled backend. An installed tree or the SDK archive finds them through find_package(ucall), and the shared library through pkg-config --libs ucall too.

API

Functions

ucall_versionReports the version of the linked library, which may differ from UCALL_VERSION_* in the header.
types.h:654 ↗
void ucall_version(int *major, int *minor, int *patch);

Parameters

majoroutOutput for the major version.
minoroutOutput for the minor version.
patchoutOutput for the patch version.
ucall_version_nameThe linked library's version, including a release-candidate suffix, in static storage.
types.h:657 ↗
char const * ucall_version_name(void);

Macros

UCALL_VERSION_MAJORMajor version of the C interface; it changes when a release breaks it.
types.h:15 ↗
#define UCALL_VERSION_MAJOR 1
UCALL_VERSION_MINORMinor version of the C interface; it changes when a release adds to it.
types.h:18 ↗
#define UCALL_VERSION_MINOR 0
UCALL_VERSION_PATCHPatch version of the C interface; it changes when a release only fixes it.
types.h:21 ↗
#define UCALL_VERSION_PATCH 0