23 lines
438 B
C
Raw Permalink Normal View History

2025-01-12 00:52:51 +08:00
#ifndef _later_later_api_h
#define _later_later_api_h
#include "later.h"
namespace {
class LaterInitializer {
public:
LaterInitializer() {
// See comment in execLaterNative to learn why we need to do this
// in a statically initialized object
later::later(NULL, NULL, 0);
later::later_fd(NULL, NULL, 0, NULL, 0);
}
};
static LaterInitializer init;
} // namespace
#endif // _later_later_api_h