From 3267aeac0b90c76f5091104e13389ce6050dd580 Mon Sep 17 00:00:00 2001 From: Jay Kamat Date: Sun, 16 Jul 2017 22:09:06 -0700 Subject: [PATCH] Add documentation for ob-C :namespaces --- org-contrib/babel/languages/ob-doc-C.org | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/org-contrib/babel/languages/ob-doc-C.org b/org-contrib/babel/languages/ob-doc-C.org index b1aac99b..faf2b77f 100644 --- a/org-contrib/babel/languages/ob-doc-C.org +++ b/org-contrib/babel/languages/ob-doc-C.org @@ -66,7 +66,7 @@ the results of evaluation inserted into the buffer. : int b=1; : printf("%d\n", a+b); : #+end_src -: +: : #+results: : : 2 @@ -154,6 +154,11 @@ It features: (C & C++ only) just like =:includes= but for =#defines= lines at the top of the code. +- =:namespaces= :: + (C++ only) + accepts either a single name, or a list of names of namespaces to use. + The final format will look like this: =using namespace name;= + - =:libs= :: (C & C++ only) useful for linking with a library, may be given =-L/path/to/lib= and =-llibrary= instructions. -- 2.11.0