aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/libgamma-facade.c.gpp
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-28 15:18:38 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-28 15:18:38 +0200
commit9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5 (patch)
tree32386de8407b95650998dfbbf1350094d2663711 /src/lib/libgamma-facade.c.gpp
parentm doc (diff)
downloadlibgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.gz
libgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.bz2
libgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.xz
ramps => ramps16
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/lib/libgamma-facade.c.gpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libgamma-facade.c.gpp b/src/lib/libgamma-facade.c.gpp
index 349a63e..8527b3b 100644
--- a/src/lib/libgamma-facade.c.gpp
+++ b/src/lib/libgamma-facade.c.gpp
@@ -678,8 +678,8 @@ unsigned char* libgamma_unhex_edid(const char* restrict edid)
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library.
*/
-int libgamma_crtc_get_gamma_ramps(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps_t* restrict ramps)
+int libgamma_crtc_get_gamma_ramps16(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps16_t* restrict ramps)
{
#ifdef HAVE_NO_LIBGAMMA_METHODS
(void) ramps;
@@ -691,7 +691,7 @@ int libgamma_crtc_get_gamma_ramps(libgamma_crtc_state_t* restrict this,
$>for method in $(get-methods | grep -v QUARTZ_CORE_GRAPHICS); do
#ifdef HAVE_LIBGAMMA_METHOD_${method}
case LIBGAMMA_METHOD_${method}:
- return libgamma_$(lowercase $method)_crtc_get_gamma_ramps(this, ramps);
+ return libgamma_$(lowercase $method)_crtc_get_gamma_ramps16(this, ramps);
#endif
/* The Quartz/CoreGraphics method uses single precision float. */
@@ -721,8 +721,8 @@ $>done
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library.
*/
-int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps_t ramps)
+int libgamma_crtc_set_gamma_ramps16(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps16_t ramps)
{
#ifdef HAVE_NO_LIBGAMMA_METHODS
(void) ramps;
@@ -734,7 +734,7 @@ int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
$>for method in $(get-methods | grep -v QUARTZ_CORE_GRAPHICS); do
#ifdef HAVE_LIBGAMMA_METHOD_${method}
case LIBGAMMA_METHOD_${method}:
- return libgamma_$(lowercase $method)_crtc_set_gamma_ramps(this, ramps);
+ return libgamma_$(lowercase $method)_crtc_set_gamma_ramps16(this, ramps);
#endif
$>done
@@ -812,7 +812,7 @@ $>fi
default:
ramps_.${type} = ${p}ramps;
return libgamma_translated_ramp_${action}(this, ${p:+&}ramps_, ${bits}, 16,
- libgamma_crtc_${action}_gamma_ramps);
+ libgamma_crtc_${action}_gamma_ramps16);
}
}
$>}
@@ -988,7 +988,7 @@ $>}
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library.
*/
-$>crtc_set_gamma_ramps_f uint16_t ramps
+$>crtc_set_gamma_ramps_f uint16_t ramps16
/**