More C interfacing issues