GIR Foreign functions interface