diff options
| author | 2023-05-31 00:26:46 +0200 | |
|---|---|---|
| committer | 2023-05-31 00:26:46 +0200 | |
| commit | 11c22d1b549ceb13bb40df760bd64872d4303c74 (patch) | |
| tree | 072d67369c7c94ffc40e903c619e4b648e978b53 /src | |
| parent | adjust abstract type names with namespace (diff) | |
get better more/thorough tests for the native wrapper
Diffstat (limited to 'src')
| -rw-r--r-- | src/tm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ static JanetMethod jd_tm_methods[] = { {NULL, NULL}, }; +// WARNING: this only works if they're BOTH localtime or gmtime static int jd_tm_compare(void *lhs, void *rhs) { struct tm lhp = (*(struct tm*)lhs); struct tm rhp = (*(struct tm*)rhs); |
