def METHOD_NAME(self, state: State, fn: Function) -> None:
    if fn.inline or fn.has_body:
        return
    self.api.add_function(
        ApiEntryFunction(
            stringify_descr(fn.name),
            stringify_descr(fn.return_type),
            ", ".join(map(stringify_descr, fn.parameters))
            + (", ..." if fn.vararg else ""),
        )
    )