interface: add support for overloaded methods taking unsigned int
commitdb5c8097246a1039e9a82e50d4d8c77b7994b2d0
authorSven Verdoolaege <sven@cerebras.net>
Thu, 27 Dec 2018 16:16:21 +0000 (27 17:16 +0100)
committerSven Verdoolaege <sven@cerebras.net>
Tue, 9 Apr 2019 19:16:29 +0000 (9 21:16 +0200)
tree7cbb285b3a57d2e56f3b24419966b1be1e1c63d5
parentbd2448de884e3f97b7f61e5b69534c16b64eae3b
interface: add support for overloaded methods taking unsigned int

In overloaded methods, the method name is derived from
the original function name by removing a suffix
corresponding to the last argument.
This was only supported for isl object type arguments.
Also support unsigned int arguments, with suffix "ui".
This is needed to be able to export isl_space_add_named_tuple_id_ui
without the _ui suffix.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
interface/generator.cc