Re: [pygccxml-development] FT - name uniqueness
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <ba...@ir...> - 2006-10-10 08:47:37
|
Roman Yakovenko wrote: > Hi. I would like to propose solution for function name uniqueness problems. > > Problem description: > > void do_smth( int& ); > void do_smth( int&, int& ); > > If user will specify output_t transformer for both functions the > generate code will > not compile, because Py++ will generate 2 functions with the same signature. > > In order to solve this problem, we have to mangle into function name next data: > 1. full name ( namespaces, class names ) > 2. return type information > 3. arguments type information > 4. template arguments type information Assuming that the name has been mangled, how do you invoke those two functions from Python? - Matthias - |