diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2015-05-18 17:48:26 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-08-11 14:40:38 -0700 |
commit | 28d88ef958e8ab9abf68d7410d293f602fb3bd43 (patch) | |
tree | d1e28bab0065d59296a765e674deadf2dde08159 | |
parent | 123ccf2c720e25de9d1a66875e859b63e3fee791 (diff) |
glapi: glX_proto_send.py: use bools instead of 0 and 1 for return codes
-rw-r--r-- | src/mapi/glapi/gen/glX_proto_send.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py index 0ea23532d4..dc6dc2fcf1 100644 --- a/src/mapi/glapi/gen/glX_proto_send.py +++ b/src/mapi/glapi/gen/glX_proto_send.py @@ -616,9 +616,9 @@ generic_%u_byte( GLint rop, const void * ptr ) skip_condition = "%s" % (condition_list.pop(0)) print ' if (__builtin_expect(%s, 1)) {' % (skip_condition) - return 1 + return True else: - return 0 + return False def printSingleFunction(self, f, name): self.common_func_print_just_start(f, name) |