Container to c-wrapper