aboutsummaryrefslogtreecommitdiff
path: root/taia_uint.c
diff options
context:
space:
mode:
Diffstat (limited to 'taia_uint.c')
-rw-r--r--taia_uint.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/taia_uint.c b/taia_uint.c
new file mode 100644
index 0000000..167936c
--- /dev/null
+++ b/taia_uint.c
@@ -0,0 +1,10 @@
+#include "taia.h"
+
+/* XXX: breaks tai encapsulation */
+
+void taia_uint(struct taia *t,unsigned int s)
+{
+ t->sec.x = s;
+ t->nano = 0;
+ t->atto = 0;
+}