summaryrefslogtreecommitdiff
path: root/src/gen_dispatch.py
diff options
context:
space:
mode:
authorYaron Cohen-Tal <yaronct@gmail.com>2015-07-18 12:00:06 +0300
committerYaron Cohen-Tal <yaronct@gmail.com>2015-07-18 17:39:12 +0300
commit773dd02f596b3f256bb1c0f65ac091db93a9518b (patch)
tree16e4d3260145e7f515bb97f2ab965e61ce0c63bf /src/gen_dispatch.py
parent8bbc0d40c6c4e023e71ac8bfe7f5898005cac920 (diff)
downloadlibepoxy-773dd02f596b3f256bb1c0f65ac091db93a9518b.tar.gz
Added makefiles to build with MSVC 2013, and fixed errors and warnings.
Diffstat (limited to 'src/gen_dispatch.py')
-rwxr-xr-xsrc/gen_dispatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py
index 1644cbf..e8f55b8 100755
--- a/src/gen_dispatch.py
+++ b/src/gen_dispatch.py
@@ -606,7 +606,7 @@ class Generator(object):
#
# It also writes out the actual initialized global function
# pointer.
- if func.ret_type == 'void':
+ if func.ret_type == 'void' or func.ret_type=='VOID':
self.outln('GEN_THUNKS({0}, ({1}), ({2}))'.format(func.wrapped_name,
func.args_decl,
func.args_list))