aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libcoopgamma.c8
-rw-r--r--src/libcoopgamma.h12
2 files changed, 10 insertions, 10 deletions
diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c
index 36acdd5..1812874 100644
--- a/src/libcoopgamma.c
+++ b/src/libcoopgamma.c
@@ -172,7 +172,7 @@ resync: \
* @param width The `sizeof(*(this->red))`
* @return Zero on success, -1 on error
*/
-int (libcoopgamma_ramps_initialise)(void* restrict this, size_t width)
+int libcoopgamma_ramps_initialise_(void* restrict this, size_t width)
{
libcoopgamma_ramps8_t* restrict this8 = (libcoopgamma_ramps8_t* restrict)this;
this8->red = this8->green = this8->blue = NULL;
@@ -214,7 +214,7 @@ void libcoopgamma_ramps_destroy(void* restrict this)
* @return The number of marshalled bytes, or if `buf == NULL`,
* how many bytes would be marshalled if `buf != NULL`
*/
-size_t (libcoopgamma_ramps_marshal)(const void* restrict this, void* restrict vbuf, size_t width)
+size_t libcoopgamma_ramps_marshal_(const void* restrict this, void* restrict vbuf, size_t width)
{
const libcoopgamma_ramps8_t* restrict this8 = (const libcoopgamma_ramps8_t* restrict)this;
MARSHAL_PROLOGUE;
@@ -238,8 +238,8 @@ size_t (libcoopgamma_ramps_marshal)(const void* restrict this, void* restrict vb
* @return `LIBCOOPGAMMA_SUCCESS` (0), `LIBCOOPGAMMA_INCOMPATIBLE_DOWNGRADE`,
* `LIBCOOPGAMMA_INCOMPATIBLE_UPGRADE`, or `LIBCOOPGAMMA_ERRNO_SET`
*/
-int (libcoopgamma_ramps_unmarshal)(void* restrict this, const void* restrict vbuf,
- size_t* restrict np, size_t width)
+int libcoopgamma_ramps_unmarshal_(void* restrict this, const void* restrict vbuf,
+ size_t* restrict np, size_t width)
{
libcoopgamma_ramps8_t* restrict this8 = (libcoopgamma_ramps8_t* restrict)this;
UNMARSHAL_PROLOGUE;
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h
index 019bf0f..1bad716 100644
--- a/src/libcoopgamma.h
+++ b/src/libcoopgamma.h
@@ -755,7 +755,7 @@ typedef struct libcoopgamma_async_context
* @return Zero on success, -1 on error
*/
#define libcoopgamma_ramps_initialise(this) \
- ((libcoopgamma_ramps_initialise)((this), sizeof(*((this)->red))))
+ (libcoopgamma_ramps_initialise_((this), sizeof(*((this)->red))))
/**
* Marshal a `libcoopgamma_ramps8_t`, `libcoopgamma_ramps16_t`, `libcoopgamma_ramps32_t`,
@@ -768,7 +768,7 @@ typedef struct libcoopgamma_async_context
* how many bytes would be marshalled if `buf != NULL`
*/
#define libcoopgamma_ramps_marshal(this, buf) \
- ((libcoopgamma_ramps_marshal)((this), (buf), sizeof(*((this)->red))))
+ (libcoopgamma_ramps_marshal_((this), (buf), sizeof(*((this)->red))))
/**
* Unmarshal a `libcoopgamma_ramps8_t`, `libcoopgamma_ramps16_t`, `libcoopgamma_ramps32_t`,
@@ -781,7 +781,7 @@ typedef struct libcoopgamma_async_context
* `LIBCOOPGAMMA_INCOMPATIBLE_UPGRADE`, or `LIBCOOPGAMMA_ERRNO_SET`
*/
#define libcoopgamma_ramps_unmarshal(this, buf, n) \
- ((libcoopgamma_ramps_unmarshal)((this), (buf), (n), sizeof(*((this)->red))))
+ (libcoopgamma_ramps_unmarshal_((this), (buf), (n), sizeof(*((this)->red))))
/**
@@ -794,7 +794,7 @@ typedef struct libcoopgamma_async_context
* @param width The `sizeof(*(this->red))`
* @return Zero on success, -1 on error
*/
-int (libcoopgamma_ramps_initialise)(void* restrict, size_t);
+int libcoopgamma_ramps_initialise_(void* restrict, size_t);
/**
* Release all resources allocated to a `libcoopgamma_ramps8_t`, `libcoopgamma_ramps16_t`,
@@ -819,7 +819,7 @@ void libcoopgamma_ramps_destroy(void* restrict);
* @return The number of marshalled bytes, or if `buf == NULL`,
* how many bytes would be marshalled if `buf != NULL`
*/
-size_t (libcoopgamma_ramps_marshal)(const void* restrict, void* restrict, size_t);
+size_t libcoopgamma_ramps_marshal_(const void* restrict, void* restrict, size_t);
/**
* Unmarshal a `libcoopgamma_ramps8_t`, `libcoopgamma_ramps16_t`, `libcoopgamma_ramps32_t`,
@@ -832,7 +832,7 @@ size_t (libcoopgamma_ramps_marshal)(const void* restrict, void* restrict, size_t
* @return `LIBCOOPGAMMA_SUCCESS` (0), `LIBCOOPGAMMA_INCOMPATIBLE_DOWNGRADE`,
* `LIBCOOPGAMMA_INCOMPATIBLE_UPGRADE`, or `LIBCOOPGAMMA_ERRNO_SET`
*/
-int (libcoopgamma_ramps_unmarshal)(void* restrict, const void* restrict, size_t* restrict, size_t);
+int libcoopgamma_ramps_unmarshal_(void* restrict, const void* restrict, size_t* restrict, size_t);
/**