Add a file for shared functions

New common.[hc] files where shared functions between surf and
webkitextension will be put. First addition is die().
This commit is contained in:
Quentin Rameau
2016-01-04 16:09:12 +01:00
parent 7ea0c2f7f8
commit 1901359efa
5 changed files with 24 additions and 18 deletions
+2 -2
View File
@@ -8,9 +8,9 @@
#include <webkitdom/webkitdom.h>
#include <webkitdom/WebKitDOMDOMWindowUnstable.h>
#define LENGTH(x) (sizeof(x) / sizeof(x[0]))
#include "common.h"
#define MSGBUFSZ 32
#define LENGTH(x) (sizeof(x) / sizeof(x[0]))
typedef struct Page {
guint64 id;