Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Tox

Name: Anonymous 2014-06-23 12:55

Tox, the distributed instant messaging program, just got a new GUI client that is written in PURE C WITHOUT ANY DIRTY TOOLKITS. Calls Xlib and the win32 api directly.

Pretty interesting.

https://github.com/notsecure/uTox

Name: Anonymous 2014-06-23 16:37

>>41
Good point; for decent targets you could definitely get away with

#include <stdint.h>

typedef int_least8_t least8;
typedef int_fast8_t fast8;

#if INT8_MAX
typedef int8_t i8;
#endif


Really though I'd probably wrap everything in a test macro to handle weird systems that don't care about full ISO compliance (never minding POSIX).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List