summaryrefslogtreecommitdiff
path: root/ufo/ufo-buffer.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-03-23 14:14:52 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-06-26 09:26:04 +0200
commit7e618ab440602c8ca16050927b99c4170df59c66 (patch)
treecd34abe92fc381fc4f65cb7b4a050062709d4ee9 /ufo/ufo-buffer.c
parent8b27b2740ee966691668c1b9c4a0e8865be867ba (diff)
Change ufo_buffer_set_host_array signature
Using float pointer causes crashes further down the line when using Python interfaces.
Diffstat (limited to 'ufo/ufo-buffer.c')
-rw-r--r--ufo/ufo-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufo/ufo-buffer.c b/ufo/ufo-buffer.c
index 95e5481..106edff 100644
--- a/ufo/ufo-buffer.c
+++ b/ufo/ufo-buffer.c
@@ -725,7 +725,7 @@ update_location (UfoBufferPrivate *priv,
/**
* ufo_buffer_set_host_array:
* @buffer: A #UfoBuffer
- * @array: A pointer to a float array with suitable size.
+ * @array: (type gulong): A pointer to a float array with suitable size.
* @free_data: %TRUE if @buffer is supposed to clean up the host array.
*
* Use this function to set a host array with a user-provided memory buffer.
@@ -733,7 +733,7 @@ update_location (UfoBufferPrivate *priv,
* consumer. Note, that the buffer *must* have an appropriate size.
*/
void
-ufo_buffer_set_host_array (UfoBuffer *buffer, gfloat *array, gboolean free_data)
+ufo_buffer_set_host_array (UfoBuffer *buffer, gpointer array, gboolean free_data)
{
UfoBufferPrivate *priv;