张立伟
张立伟

Reputation: 57

where the body of function uv_prepare_invoke, only find define in libuv

I read the libuv sourcecode and found these function declarations:

void uv_prepare_invoke(uv_loop_t* loop);
void uv_check_invoke(uv_loop_t* loop);
void uv_idle_invoke(uv_loop_t* loop);

Defined in internal.h.

But I can't find the function bodies, why?

Upvotes: 0

Views: 49

Answers (1)

robertklep
robertklep

Reputation: 203494

The function bodies are generated through a macro. See this.

Upvotes: 1

Related Questions