diff options
| author | johannes <johannes.herman@gmail.com> | 2024-02-07 15:43:27 +0100 |
|---|---|---|
| committer | johannes <johannes.herman@gmail.com> | 2024-02-07 15:43:27 +0100 |
| commit | ab6cb49b0b875b5c27510dc57fe3767bfd074dae (patch) | |
| tree | 716accb128e75c11da1e110421dcfcfec44adace /inc | |
| parent | 116de038d3d024232d3640f499a8fb21f1c557fd (diff) | |
added packed int writer
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/pack.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
