added C function ik_generalised_c_buffer_len
added function general-c-buffer-len
more stuff for generalised C strings and buffers
added custom fields to foreign pointer wrapper struct
fixed documentation about foreign pointer wrapper