cogl: Remove CoglBool, use gboolean instead

This basically reverts commit 54735dec, which tried to avoid the
GLib-defined types in favor the standard C ones. One exception to this
is the bool type, for which the commit introduces a new type CoglBool.

Let's just get rid of this type in favor of having consistency with the
GLib types. Note by the way that neither CoglBool nor gboolean (which
has a size of `int`) are completely compatible with bool (size `char`).

https://gitlab.gnome.org/GNOME/mutter/merge_requests/321
This commit is contained in:
Niels De Graef
2018-11-24 13:04:47 +01:00
committed by Niels De Graef
parent 6fe46cac60
commit a81435ab5f
228 changed files with 1185 additions and 1197 deletions

View File

@ -96,7 +96,7 @@ cogl_path_copy (CoglPath *path);
*
* Since: 2.0
*/
CoglBool
gboolean
cogl_is_path (void *object);
#define cogl_path_move_to cogl2_path_move_to