This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix on some functions that take no parameters
- Loading branch information
Michele Pes
committed
Dec 11, 2018
1 parent
4533cdd
commit de7091b
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
; TODO: generalize nameAttr parameter documentation generation | ||
; typedef void (*ptimer_callback_t)(void* argument); | ||
; the above do not generate param documentation | ||
|
||
;;; gendoxy.el --- Generate doxygen documentation from C declarations | ||
|
||
;; Copyright (C) 2018 Michele Pes | ||
|
||
;; Author: Michele Pes <[email protected]> | ||
;; Created: 07 December 2018 | ||
;; Created: 11 December 2018 | ||
;; Keywords: gendoxy, docs, doxygen | ||
;; Version: 1.0.6 | ||
;; Version: 1.0.7 | ||
;; Homepage: https://github.com/mp81ss/gendoxy | ||
|
||
;; This file is not part of GNU Emacs. | ||
|
@@ -74,6 +70,9 @@ | |
|
||
;;; Change log: | ||
;; | ||
;; 1.0.7 (2018-12-11) | ||
;; Bugfix on void functions | ||
;; | ||
;; 1.0.6 (2018-12-07) | ||
;; Improved automatic parameter documentation | ||
;; Improved internal code | ||
|
@@ -683,7 +682,8 @@ | |
0 | ||
name-index))) | ||
(have-return (gendoxy-have-return-p return-type)) | ||
(parameters-token (split-string (cadr blocks) "," t)) | ||
(parameters-token ; Add space to avoid parsing error | ||
(split-string (concat " " (cadr blocks)) "," t)) | ||
(parameters (gendoxy-get-parameters parameters-token)) ) | ||
(if have-return | ||
(progn | ||
|