add xxxx_nonUDT2 functions returning UDT_Simple

This commit is contained in:
sonoro1234
2018-09-05 13:45:16 +02:00
parent d47cbcb44a
commit 7afdf07cbb
12 changed files with 889 additions and 34 deletions

View File

@@ -32,6 +32,7 @@ Notes:
* methods have the same parameter list and return values (where possible)
* functions that belong to a struct have an extra first argument with a pointer to the struct.
* where a function returns UDT by value some compilers complain so another function with the name function_name_nonUDT is generated accepting a pointer to the UDT type as the first argument. (or second argument if it is a struct function)
* also is generated function_name_nonUDT2 which instead of returning the UDT type returns a simple version (without functions) called UDTType_Simple (ImVec2_Simple for ImVec2)
# example bindings based on cimgui