-
Notifications
You must be signed in to change notification settings - Fork 341
Open
Description
Trying to reproduce this method:
https://docs.gtk.org/Pango/method.Layout.xy_to_index.html
1 and 2 arguments are working, but
I have following construction where index_ and trailing must be returned as 3 and 4 arguments:
Php::Value PangoLayout_::xy_to_index(Php::Parameters ¶meters)
{
gint x = (gint) parameters[0];
gint y = (gint) parameters[1];
gint* index_;
gint* trailing;
return pango_layout_xy_to_index(PANGO_LAYOUT(instance), x, y, index_, trailing);
}In other words, method must have following implementation in php
PangoLayout::xy_to_index($x, $y, &$index_, &$trailing): boolAlso my function return integer 0|1 not boolean type as documented. Is any way to change?
Metadata
Metadata
Assignees
Labels
No labels