mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-30 11:27:52 +00:00
38f87a26b5
* ob-C.el (org-babel-C-expand-C, org-babel-C-header-to-C, org-babel-C-expand-D): Add a `TYPE' parameter to `org-babel-C-header-to-C' so that the helper functions return the correct type. Previoulsy for tables of non-strings the helper functions would attempt to return a string, leading to compilation errors. * ob-C.el (org-babel-C-header-to-C): Correctly quote header elements. Before, if the elisp value was not a string, it would not quote it, leading to a syntax error. * ob-C.el (org-babel-C-utility-header-to-C): Include `string.h' in header `get_column_num' requires `strcmp', leading to compilation errors. * ob-C.el (org-babel-C-var-to-C): prefered declaration of a table in D differs from C and C++. Example in C: `int table[2][3] = ...;'. In D: `int[3][2] table=...;' This patch is mainly based on Asa Zeren <asaizeren@gmail.com> patch of Nov 5 2020, which was not commited at that time. |
||
---|---|---|
contrib | ||
doc | ||
etc | ||
lisp | ||
mk | ||
testing | ||
.dir-locals.el | ||
.gitignore | ||
.gitmodules | ||
CONTRIBUTE | ||
COPYING | ||
Makefile | ||
README | ||
README_ELPA | ||
request-assign-future.txt |
-*- mode: org; fill-column:70 -*- This is a distribution of Org, a plain text notes and project planning tool for Emacs. Check the [[https://orgmode.org][homepage of Org]] and the [[https://orgmode.org/org.html#Installation][installations instructions]]. * Contents of this distribution - README :: This file. - COPYING :: The GNU General Public License. - Makefile :: The makefile to compile and install Org. For installation instructions, see the manual or [[https://orgmode.org/worg/dev/org-build-system.html][the more detailed procedure on Worg]]. - mk/ :: Files needed for building Org. - lisp/ :: Directory with all the Emacs Lisp files that make up Org. - doc/ :: The documentation files. org.texi is the source of the documentation, org.html and org.pdf are formatted versions of it. - contrib/ :: A directory with third-party additions for Org. Some really cool stuff is in there. - etc/ :: Files needed for the ODT exporter. - testing/ :: Testing suite for Org. - request-assign-future.txt :: The form that contributors have to sign and get processed with the FSF before contributed changes can be integrated into the Org core. All files in this distribution except the contrib/ directory have copyright assigned to the FSF. * License Org-mode is published under [[https://www.gnu.org/licenses/gpl-3.0.html][the GNU GPLv3 license]] or any later version, the same as GNU Emacs. See the COPYING file in this directory.