aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/stream.hpp
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-08-11 08:17:13 -0400
committerAlexander Pickering <alex@cogarr.net>2018-08-11 08:17:13 -0400
commit2c97dada7b9c7fedc511f1ecf012346c198d92f8 (patch)
treeacc094cc13b21d12385e3f51967bf5b3bdbf42ef /src/shared/lua_api/stream.hpp
parent76b44e3d9b2b9f146866ad66154fecdf3cb8dfd4 (diff)
downloadbrokengine-2c97dada7b9c7fedc511f1ecf012346c198d92f8.tar.gz
brokengine-2c97dada7b9c7fedc511f1ecf012346c198d92f8.tar.bz2
brokengine-2c97dada7b9c7fedc511f1ecf012346c198d92f8.zip
Various updates
Edit boxes can have their contents retreived Fixed a typo for edit box methods various updates to the net api
Diffstat (limited to 'src/shared/lua_api/stream.hpp')
-rw-r--r--src/shared/lua_api/stream.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/lua_api/stream.hpp b/src/shared/lua_api/stream.hpp
index bf44ed4..74a0e69 100644
--- a/src/shared/lua_api/stream.hpp
+++ b/src/shared/lua_api/stream.hpp
@@ -1,4 +1,5 @@
#include <stdlib.h>
+#include <nng.h>
//Char is not definitvely a byte, read the fucking standard
#define byte char
@@ -7,6 +8,7 @@ typedef struct stream {
long length;
byte* data;
long read;
+ nng_pipe *pipe;
} stream;
struct stream* stream_create();