Passing called_as_ctor param to C functions