summaryrefslogtreecommitdiffstats
path: root/src/dom/js/prmjtime.h
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-03-05 10:34:59 +0000
committerishmal <ishmal@users.sourceforge.net>2007-03-05 10:34:59 +0000
commit33837efd4b94c4ebb80f95b3d9dbb6efd5499a98 (patch)
treede482d7687b3bffa97cc78608ba75a8ad7e52b60 /src/dom/js/prmjtime.h
parentAdding optional dialog preview. Implments RFE [ 1435276 ] switch preview on/o... (diff)
downloadinkscape-33837efd4b94c4ebb80f95b3d9dbb6efd5499a98.tar.gz
inkscape-33837efd4b94c4ebb80f95b3d9dbb6efd5499a98.zip
update JS
(bzr r2555)
Diffstat (limited to 'src/dom/js/prmjtime.h')
-rw-r--r--src/dom/js/prmjtime.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/dom/js/prmjtime.h b/src/dom/js/prmjtime.h
index 6a94a11b1..b74fe845e 100644
--- a/src/dom/js/prmjtime.h
+++ b/src/dom/js/prmjtime.h
@@ -57,21 +57,21 @@ typedef struct PRMJTime PRMJTime;
* Broken down form of 64 bit time value.
*/
struct PRMJTime {
- JSInt32 tm_usec; /* microseconds of second (0-999999) */
- JSInt8 tm_sec; /* seconds of minute (0-59) */
- JSInt8 tm_min; /* minutes of hour (0-59) */
- JSInt8 tm_hour; /* hour of day (0-23) */
- JSInt8 tm_mday; /* day of month (1-31) */
- JSInt8 tm_mon; /* month of year (0-11) */
- JSInt8 tm_wday; /* 0=sunday, 1=monday, ... */
- JSInt16 tm_year; /* absolute year, AD */
- JSInt16 tm_yday; /* day of year (0 to 365) */
- JSInt8 tm_isdst; /* non-zero if DST in effect */
+ JSInt32 tm_usec; /* microseconds of second (0-999999) */
+ JSInt8 tm_sec; /* seconds of minute (0-59) */
+ JSInt8 tm_min; /* minutes of hour (0-59) */
+ JSInt8 tm_hour; /* hour of day (0-23) */
+ JSInt8 tm_mday; /* day of month (1-31) */
+ JSInt8 tm_mon; /* month of year (0-11) */
+ JSInt8 tm_wday; /* 0=sunday, 1=monday, ... */
+ JSInt16 tm_year; /* absolute year, AD */
+ JSInt16 tm_yday; /* day of year (0 to 365) */
+ JSInt8 tm_isdst; /* non-zero if DST in effect */
};
/* Some handy constants */
-#define PRMJ_USEC_PER_SEC 1000000L
-#define PRMJ_USEC_PER_MSEC 1000L
+#define PRMJ_USEC_PER_SEC 1000000L
+#define PRMJ_USEC_PER_MSEC 1000L
/* Return the current local time in micro-seconds */
extern JSInt64