[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/6] obstack: import obstack_finish0 from master
From: |
Theophile Ranquet |
Subject: |
[PATCH 1/6] obstack: import obstack_finish0 from master |
Date: |
Wed, 10 Oct 2012 17:14:01 +0000 |
* src/system.h (obstack_finish0): New.
---
src/system.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/system.h b/src/system.h
index bf7f59f..4c4a764 100644
--- a/src/system.h
+++ b/src/system.h
@@ -198,7 +198,10 @@ typedef size_t uintptr_t;
} while (0)
+/* Append the ending 0, finish Obs, and return the string. */
+# define obstack_finish0(Obs) \
+ (obstack_1grow (Obs, '\0'), (char *) obstack_finish (Obs))
/*-----------------------------------------.
--
1.7.11.4
- [PATCH 0/6] {maint} Graphviz improvements, Theophile Ranquet, 2012/10/10
- [PATCH 1/6] obstack: import obstack_finish0 from master,
Theophile Ranquet <=
- [PATCH 2/6] graphs: style: prefix rules and change shapes, Theophile Ranquet, 2012/10/10
- [PATCH 3/6] graphs: style: use left justification for states, Theophile Ranquet, 2012/10/10
- Re: [PATCH 3/6] graphs: style: use left justification for states, Akim Demaille, 2012/10/11
- Re: [PATCH 3/6] graphs: style: use left justification for states, Théophile Ranquet, 2012/10/11
- Re: [PATCH 3/6] graphs: style: use left justification for states, Théophile Ranquet, 2012/10/11
- Re: [PATCH 3/6] graphs: style: use left justification for states, Théophile Ranquet, 2012/10/11
- Re: [PATCH 3/6] graphs: style: use left justification for states, Akim Demaille, 2012/10/11
- Re: [PATCH 3/6] graphs: style: use left justification for states, Théophile Ranquet, 2012/10/11