createFunction

fun <T : Function<*>> createFunction(funcName: String, type: KType, config: FFIFuncConfig): T