summaryrefslogtreecommitdiff
path: root/cpp/q.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/q.c')
-rw-r--r--cpp/q.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/cpp/q.c b/cpp/q.c
new file mode 100644
index 0000000..e24592a
--- /dev/null
+++ b/cpp/q.c
@@ -0,0 +1,23 @@
+
+#define m_size(p) ((p) [0].size) /* For malloc */
+#define m_next(p) ((p) [1].next) /* For malloc and alloca */
+#define m_deep(p) ((p) [0].depth) /* For alloca */
+
+ m_size(p1) += m_size(m_next(p1));
+ m_next(p1) = m_next(m_next(p1));
+ noise("JOIN 2", p1);
+
+ hello/??
+??=warning oooer
+#define LOCK_NB 4 /* or'd with one of the above to prevent
+ blocking */
+#define LOCK_UN 8 /* remove lock */
+
+
+#define comba(x,y) x/**/y
+#define combb(x,y) x ## y
+
+
+ comba(un,signed);
+ combb(un,signed);
+.