many structs now work with ccall