Add C native types macro helpers
authorOlivier Dion <odion@efficios.com>
Tue, 6 Aug 2024 21:09:48 +0000 (17:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 23 Oct 2024 15:28:05 +0000 (11:28 -0400)
commitf9ef9246b7eec79e68b9c223bf6421da12263263
tree5994252d03f515be9dbd620020a7744cc762a13c
parent9509522142764f2d7f8e6195d70b19588be567e3
Add C native types macro helpers

The SIDE ABI specifies fixed sizes integers and floating points.
However, as a convenience for C/C++, the SIDE C API supports C native
types (e.g. char) which are translated to their equivalent.

Note that the translation of C native types is toolchain dependent and
therefore could produce different results.

The main use case is for auto-generating SIDE events for public API of
shared libraries.

Change-Id: I845f0dd42ba2dc2de1f540f751e9cd65aa4a8c98
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/side/instrumentation-c-api.h
tests/unit/c-native-types.h [new file with mode: 0644]
tests/unit/test.c
This page took 0.02328 seconds and 4 git commands to generate.