Skip to content

Commit

Permalink
changes to compile the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scorninpc committed Mar 24, 2023
1 parent 8aad727 commit 4a9417e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/G/GObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ Php::Value GObject_::get_data(Php::Parameters& parameters)

gpointer value = g_object_get_data(G_OBJECT(instance), key);

return (gchar)value;
// this will return the pointer, so if not a natural type, it's will crash
return value;
}


Expand Down

0 comments on commit 4a9417e

Please sign in to comment.