summaryrefslogtreecommitdiff
path: root/tests/headers/struct_with_struct.h
diff options
context:
space:
mode:
authorChristopher Chambers <chris.chambers@peanutcode.com>2014-12-18 11:13:50 -0600
committerChristopher Chambers <chris.chambers@peanutcode.com>2014-12-19 07:38:42 -0600
commit94c75a2e2e398d1d206aaed8146de9c333c4d6ed (patch)
treebae1209e1d0c3de0d4b2522dd92187408fe37e33 /tests/headers/struct_with_struct.h
parent010ce680336355af484ef2e171c2bb6cc4c0c34b (diff)
Improves argument name parsing in function pointers.
Previously, all function pointer types always had their arguments bound as arg1, arg2, etc. This change preserves the argument names, when they are available. parser.rs - Uses the type cursor to visit children and gather argument names and types. tests/func_ptr.rs - Binds tests/headers/func_ptr.h and tests/headers/func_ptr_in_struct.h and ensures that argument names are correctly bound.
Diffstat (limited to 'tests/headers/struct_with_struct.h')
0 files changed, 0 insertions, 0 deletions