X-Git-Url: http://nitlanguage.org diff --git a/lib/realtime.nit b/lib/realtime.nit index 3ae6346..fd0fe86 100644 --- a/lib/realtime.nit +++ b/lib/realtime.nit @@ -21,7 +21,7 @@ in "C header" `{ #include `} -extern Timespec `{struct timespec*`} +extern class Timespec `{struct timespec*`} new ( s, ns : Int ) `{ struct timespec* tv = malloc( sizeof(struct timespec) ); tv->tv_sec = s; tv->tv_nsec = ns;