Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はlibevを研究していますが、ev_loopはlibevの非常に重要なコンポーネントです。しかし、libevのソースコードを検索したところ、structev_loopの定義が見つかりませんでした。
では、ev_loopはどのように見えるべきでしょうか?
struct ev_loop { /* anything here? */ }
ev.cの1501行目とすべてのev_vars.h
struct ev_loop { ev_tstamp ev_rt_now; #define ev_rt_now ((loop)->ev_rt_now) #define VAR(name,decl) decl; #include "ev_vars.h" #undef VAR };