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 committed 2018-10-08 11:38:03 +02:00
1 parent 7ea0c2f7f8
commit 1901359efa
5 files changed
+24 -18

No files matched your search

+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;