summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-07-01 05:04:45 -0500
committerepoch <epoch@hacking.allowed.org>2019-07-01 05:04:45 -0500
commit39f3094d3b92507191c18c7e4dcc17b3484e95a9 (patch)
treee8dd295162979555222770bd7b6e0b89812e6162
parentfe813996b6692b07e3b34aeb366dd57e5a8ae862 (diff)
downloadhackvr-39f3094d3b92507191c18c7e4dcc17b3484e95a9.tar.gz
hackvr-39f3094d3b92507191c18c7e4dcc17b3484e95a9.zip
renamed global to hvr_global and added a namedpipe for doing selfcommand()
-rw-r--r--src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 9b7dd6d..fb8ceca 100644
--- a/src/common.h
+++ b/src/common.h
@@ -93,7 +93,7 @@ typedef struct c3_shape {//use array or linked list?
struct attrib attrib;
} c3_s_t;
-struct global {
+struct hvr_global {//namespace conflict with libidc
int x;
int y;
char beep;//1 or 0
@@ -112,6 +112,7 @@ struct global {
real zoom;
int derp;
real split;
+ int selfpipe[2];
};
int selfcommand(char *);