Audio/AudioControl: Allow muting mixer channels from config.py
g0dil [Fri, 19 Oct 2007 14:10:57 +0000 (14:10 +0000)]
Emacs/cc-ide: Fix template specialization support
Emacs/cc-ide: Add missing .ih include to .cci file
Shell: Add latex2png tool with alpha-transparency support.

cc-ide/cc-helper.el
cc-ide/cc-ide.el

index 5d6d701..dfec932 100644 (file)
              (set-buffer cbuf)
              (save-excursion
                (goto-char (car template))
-               (concat "template <"
-                       (loop for arg in (c-parse-template-declaration)
-                             for sep = "" then ", "
-                             concat sep
-                             concat (progn
-                                      (buffer-substring-no-properties
-                                       (car arg) (if (c-move-to-initializer 
-                                                      (car arg) (cdr arg))
-                                                     (progn 
-                                                       (forward-char -1)
-                                                       (c-backward-syntactic-ws)
-                                                       (point))
-                                                   (cdr arg)))))
-                       ">"))))
-       do (insert "\n")))
+               (let ((args (c-parse-template-declaration)))
+                 (if args
+                     (concat "template <"
+                             (loop for arg in args
+                                   for sep = "" then ", "
+                                   concat sep
+                                   concat (progn
+                                            (buffer-substring-no-properties
+                                             (car arg) (if (c-move-to-initializer 
+                                                            (car arg) (cdr arg))
+                                                           (progn 
+                                                             (forward-char -1)
+                                                             (c-backward-syntactic-ws)
+                                                             (point))
+                                                         (cdr arg)))))
+                             ">\n")
+                   "")))))))
 
 (defun c-build-defun (&optional add-words no-kill)
   ;; build a function definition header for the current defun. if
index 50c1778..a36db47 100644 (file)
@@ -319,6 +319,7 @@ correctly included.")
          ((string-match "\\.cci$" (buffer-file-name))
           (insert "/** \\file\n"
                   "    \\brief " (ccide-file-name) " inline non-template implementation */\n\n"
+                  "//#include \"" (ccide-file-name ".ih") "\"\n\n"
                    "// Custom includes\n\n"
                   "#define prefix_ inline\n"
                    "///////////////////////////////cci.p///////////////////////////////////////\n\n")