Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / external / epoxy / Wint-conversion.patch
blobb638dfad806fc7a232d5561f745e1132e8f4e104
1 --- src/gen_dispatch.py
2 +++ src/gen_dispatch.py
3 @@ -123,20 +123,16 @@
5 # We retain those aliases. In the x86_64 ABI, the first 6
6 # args are stored in 64-bit registers, so the calls end up
7 - # being the same despite the different types. We just need to
8 - # add a cast to uintptr_t to shut up the compiler.
9 + # being the same despite the different types.
10 if arg_type == 'GLhandleARB':
11 assert len(self.args) < 6
12 - arg_list_name = '(uintptr_t)' + arg_name
13 - else:
14 - arg_list_name = arg_name
16 self.args.append((arg_type, arg_name))
17 if self.args_decl == 'void':
18 - self.args_list = arg_list_name
19 + self.args_list = arg_name
20 self.args_decl = arg_type + ' ' + arg_name
21 else:
22 - self.args_list += ', ' + arg_list_name
23 + self.args_list += ', ' + arg_name
24 self.args_decl += ', ' + arg_type + ' ' + arg_name
26 def add_provider(self, condition, loader, condition_name):