summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/gen_dispatch.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py
index 8b57336..ef2b433 100755
--- a/src/gen_dispatch.py
+++ b/src/gen_dispatch.py
@@ -546,7 +546,9 @@ class Generator(object):
self.outln(' {0} /* "{1}" */,'.format(self.entrypoint_string_offset[provider.name], provider.name))
self.outln(' };')
- self.outln(' return {0}_provider_resolver("{1}",'.format(self.target, func.name))
+ self.outln(' return {0}_provider_resolver(entrypoint_strings + {1} /* "{2}" */,'.format(self.target,
+ self.entrypoint_string_offset[func.name],
+ func.name))
self.outln(' providers, entrypoints);')
self.outln('}')