Gitweb links:
...log
http://git.netsurf-browser.org/libnslayout.git/shortlog/e521db5684ad10f31630d1abd3d3641dd7c86b92
...commit
http://git.netsurf-browser.org/libnslayout.git/commit/e521db5684ad10f31630d1abd3d3641dd7c86b92
...tree
http://git.netsurf-browser.org/libnslayout.git/tree/e521db5684ad10f31630d1abd3d3641dd7c86b92
The branch, tlsa/layout-nodes has been created
at e521db5684ad10f31630d1abd3d3641dd7c86b92 (commit)
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libnslayout.git/commit/?id=e521db5684ad10f31630d1abd3d3641dd7c86b92
commit e521db5684ad10f31630d1abd3d3641dd7c86b92
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
WIP: Layout node stuff. Not a lot here.
diff --git a/src/node.c b/src/node.c
new file mode 100644
index 0000000..233e6c4
--- /dev/null
+++ b/src/node.c
@@ -0,0 +1,25 @@
+/*
+ * This file is part of LibNSLayout
+ * Licensed under the ISC License, http://opensource.org/licenses/ISC
+ * Copyright 2015 Michael Drake <[email protected]>
+ */
+
+/** \file src/node.c
+ * Layout node handling
+ */
+
+#include <assert.h>
+#include <stdlib.h>
+
+#include "libnslayout/nslayout.h"
+
+#include "layout.h"
+#include "util/util.h"
+#include "util/dom-str.h"
+
+
+/**
+ * The layout node object.
+ */
+struct nsl_node {
+};
diff --git a/src/node.h b/src/node.h
new file mode 100644
index 0000000..9e85db1
--- /dev/null
+++ b/src/node.h
@@ -0,0 +1,20 @@
+/*
+ * This file is part of LibNSLayout
+ * Licensed under the ISC License, http://opensource.org/licenses/ISC
+ * Copyright 2015 Michael Drake <[email protected]>
+ */
+
+/** \file src/node.h
+ * Layout node handling
+ */
+
+#ifndef nsl_node_h_
+#define nsl_node_h_
+
+typedef struct nsl_node nsl_node;
+
+nsl_error nsl__node_create(nsl_node **node_out);
+
+void nsl__node_destroy(nsl_node *node_out);
+
+#endif
-----------------------------------------------------------------------
--
NetSurf Layout Engine
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org