extern "C" CDECL void rust_mktime(rust_tm* timeptr, int64_t *out) { tm t; rust_tm_to_tm(timeptr, &t); *out = mktime(&t); }
extern "C" CDECL void rust_timegm(rust_tm* timeptr, int64_t *out) { tm t; rust_tm_to_tm(timeptr, &t); *out = TIMEGM(&t); }
int64_t rust_mktime(rust_tm* timeptr) { struct tm t; rust_tm_to_tm(timeptr, &t); return mktime(&t); }
int64_t rust_timegm(rust_tm* timeptr) { struct tm t; rust_tm_to_tm(timeptr, &t); return TIMEGM(&t); }
extern "C" CDECL int64_t rust_mktime(rust_tm* timeptr) { tm t; rust_tm_to_tm(timeptr, &t); return mktime(&t); }
extern "C" CDECL int64_t rust_timegm(rust_tm* timeptr) { tm t; rust_tm_to_tm(timeptr, &t); return TIMEGM(&t); }