7. Binding a C Function’s Parameter and Return Types¶ 7.1. Basic Types 7.2. Structs 7.3. Arrays 7.3.1. Array Length is Passed as an Argument 7.3.2. Array is Null-Terminated 7.3.3. Array Length is a Constant Expression 7.3.4. Array Length is Unknown 7.3.5. Array Length is Known by Some Awkward Means 7.4. Strings and Buffers 7.5. Function Pointers 7.6. Parameters of Variable Type (Generics) 7.6.1. Generic Methods 7.6.2. Generic Classes and Structs 7.6.3. The User Pointer Case 7.7. Pointers