Call wrapped func from c