summaryrefslogtreecommitdiff
path: root/inc/pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/pack.h')
-rw-r--r--inc/pack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/pack.h b/inc/pack.h
index 55ebf4e..49e581c 100644
--- a/inc/pack.h
+++ b/inc/pack.h
@@ -13,4 +13,8 @@ void tobigendian(const int in, unsigned char out[4]);
/* the given pointer is incremented */
int readint(unsigned char **cp);
+/* writes given int to teeworlds packed */
+/* the given pointer is incremented */
+void writeint(int in, char **cp);
+
#endif // PACK_H