aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcoopgamma.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-19 11:14:21 +0200
committerMattias Andrée <maandree@kth.se>2016-07-19 11:14:21 +0200
commitde564878801297ddabcfb6075ddbb8b42dda6d26 (patch)
tree703a64bbc9062dc1bcc86d50342a7004f97661c2 /src/libcoopgamma.c
parentDocument macros, enums, structs, and unions in libcoopgamma.h.0 (diff)
downloadlibcoopgamma-de564878801297ddabcfb6075ddbb8b42dda6d26.tar.gz
libcoopgamma-de564878801297ddabcfb6075ddbb8b42dda6d26.tar.bz2
libcoopgamma-de564878801297ddabcfb6075ddbb8b42dda6d26.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/libcoopgamma.c')
-rw-r--r--src/libcoopgamma.c8
1 files changed, 4 insertions, 4 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;