Function: org-babel-C-table-sizes-to-C
org-babel-C-table-sizes-to-C is a byte-compiled function defined in
ob-C.el.gz.
Signature
(org-babel-C-table-sizes-to-C PAIR)
Documentation
Create constants of table dimensions, if PAIR is a table.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-C.el.gz
(defun org-babel-C-table-sizes-to-C (pair)
"Create constants of table dimensions, if PAIR is a table."
(when (listp (cdr pair))
(cond
((listp (cadr pair)) ;; a table
(concat
(format "const int %s_rows = %d;" (car pair) (length (cdr pair)))
"\n"
(format "const int %s_cols = %d;" (car pair) (length (cadr pair)))))
(t ;; a list declared in the #+begin_src line
(format "const int %s_cols = %d;" (car pair) (length (cdr pair)))))))