Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #290 from Tiwalun/fix-c-typedef
Fix missing type in C typedefs
- Loading branch information
Showing
7 changed files
with
73 additions
and
6 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PROJECT_NAME = "Function Type Def Command" | ||
OUTPUT_DIRECTORY = c_typedef | ||
GENERATE_LATEX = NO | ||
GENERATE_MAN = NO | ||
GENERATE_RTF = NO | ||
CASE_SENSE_NAMES = NO | ||
INPUT = c_typedef.h | ||
QUIET = YES | ||
JAVADOC_AUTOBRIEF = YES | ||
GENERATE_HTML = NO | ||
GENERATE_XML = YES |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* Sample typedef for a function pointer | ||
*/ | ||
typedef int (*cTypeDefTestFuncPtr)(void); | ||
|
||
typedef void* (*cVoidFuncPtr)(float, int); | ||
|
||
typedef void* cVoidPointer; | ||
|
||
typedef float* cFloatPointer; | ||
|
||
typedef float cFloatingPointNumber; | ||
|
||
/** | ||
* @brief Test for a simple C typedef | ||
*/ | ||
typedef int cTestTypedef; |
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