(thetype)
| 69 | return 'Struct' |
| 70 | |
| 71 | def ctype(thetype): |
| 72 | thetype = thetype.replace('vr::','') |
| 73 | if(thetype[0:6] == 'const '): |
| 74 | thetype = thetype[6:] |
| 75 | if(thetype[0:6] == 'class '): # for C replaces classes by pointers |
| 76 | thetype = 'intptr_t' |
| 77 | if(thetype == 'ulong'): |
| 78 | return 'unsigned long long' |
| 79 | if(thetype == 'uint'): |
| 80 | return 'unsigned long' |
| 81 | return thetype |
| 82 | |
| 83 | def striparraysuffix(thetype): |
| 84 | if(thetype[len(thetype) - 1] == ']'): |
no outgoing calls
no test coverage detected