summaryrefslogtreecommitdiff
path: root/cpp/log
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/log')
-rw-r--r--cpp/log77
1 files changed, 77 insertions, 0 deletions
diff --git a/cpp/log b/cpp/log
new file mode 100644
index 0000000..1117b3d
--- /dev/null
+++ b/cpp/log
@@ -0,0 +1,77 @@
+
+#define  m_size((p))  ((p) [0].size) /* For malloc */
+
+### Define 'm_size' as 1 args 'p,((p) [0].size) '
+#define  m_next((p))  ((p) [1].next) /* For malloc and alloca */
+
+### Define 'm_next' as 1 args 'p,((p) [1].next) '
+#define  m_deep((p))  ((p) [0].depth) /* For alloca */
+
+### Define 'm_deep' as 1 args 'p,((p) [0].depth) '
+
+ mm_size((p1)
+### Macro substitution in '((p) [0].size) '
+### Argument 1 (p) = 'p1'
+
+### <DEF1='((p1) [0].size) '>
+<DEF1>((pp1)) [0].ssize)) <DEF0>+= mm_size((m_next(p1))
+### Macro substitution in '((p) [0].size) '
+### Argument 1 (p) = 'm_next(p1)'
+
+### <DEF1='((m_next(p1)) [0].size) '>
+<DEF1>((mm_next((p1)
+### Macro substitution in '((p) [1].next) '
+### Argument 1 (p) = 'p1'
+
+### <DEF2='((p1) [1].next) '>
+<DEF2>((pp1)) [1].nnext)) )<DEF1> [0].ssize)) ;<DEF0>
+ mm_next((p1)
+### Macro substitution in '((p) [1].next) '
+### Argument 1 (p) = 'p1'
+
+### <DEF1='((p1) [1].next) '>
+<DEF1>((pp1)) [1].nnext)) <DEF0>= mm_next((m_next(p1))
+### Macro substitution in '((p) [1].next) '
+### Argument 1 (p) = 'm_next(p1)'
+
+### <DEF1='((m_next(p1)) [1].next) '>
+<DEF1>((mm_next((pp1))) [1].nnext)) ;<DEF0>
+ nnoise(("JOIN 2", pp1));
+
+ hhello/?/??? ? 
+??=warning  oooer
+
+#define  LOCK_NB  4 /* or'd with one of the above to prevent
+ blocking */
+
+### Define 'LOCK_NB' as '4 '
+#define  LOCK_UN  8 /* remove lock */
+
+### Define 'LOCK_UN' as '8 '
+
+
+#define  comba((x,,yy))  x/**/y
+
+### Define 'comba' as 2 args 'x,y,x y '
+#define  combb((x,,yy))  x ## y
+
+### Define 'combb' as 2 args 'x,y,x ## y '
+
+
+ ccomba((un,signed)
+### Macro substitution in 'x y '
+### Argument 1 (x) = 'un'
+### Argument 2 (y) = 'signed'
+
+### <DEF1='un signed '>
+<DEF1>un  ssigned  ;<DEF0>
+ ccombb((un,signed)
+### Macro substitution in 'x ## y '
+### Argument 1 (x) = 'un'
+### Argument 2 (y) = 'signed'
+
+### <DEF1='unsigned '>
+<DEF1>unsigned  ;<DEF0>
+.
+
+<EOF> \ No newline at end of file