I always used the "method" as a synonym for the "member function", which implies C ++, since C does not have such a thing.
However, on the other hand, coins can be argued that the role of foo_alter_state is:
struct foo {
was still a method running on foo s, albeit independent. This is mainly OOP in C, but done manually.
This perspective may be especially relevant if struct foo; It was announced only in the headings, but was not defined at all publicly.
Flexo source share