1
Bugs and Issues / Re: Language Macros for C
« on: July 03, 2014, 04:00:30 pm »
I believe, I have use the default "Operation Declaration" template for C as language.
The %opMacros% is in, but because the operation is static the %opMacros% isn't reached.
I get the __inline, if I deactivate the static check box.
This is the snipped:
%PI=" "%
%if opTag:"define" == "true"%
#define %opName%(%list="Parameter" @separator=", "%) %opCode%
%endTemplate%
%if opStatic=="T"%
%endTemplate%
%opConst=="T" ? "const" : ""%
%opReturnType%
%opMacros%
%PI=""%
%opName%(%list="Parameter" @separator=", "%)
$bodyLoc = %opTag:"bodyLocation"%
%if opTag:"inline" != "true" and $bodyLoc != "header" and $bodyLoc != "classDec"%
;
%endIf%
I'm not a C expert, are there good reasons for this static exclusion?
%if opStatic=="T"%
%endTemplate%
The %opMacros% is in, but because the operation is static the %opMacros% isn't reached.
I get the __inline, if I deactivate the static check box.
This is the snipped:
%PI=" "%
%if opTag:"define" == "true"%
#define %opName%(%list="Parameter" @separator=", "%) %opCode%
%endTemplate%
%if opStatic=="T"%
%endTemplate%
%opConst=="T" ? "const" : ""%
%opReturnType%
%opMacros%
%PI=""%
%opName%(%list="Parameter" @separator=", "%)
$bodyLoc = %opTag:"bodyLocation"%
%if opTag:"inline" != "true" and $bodyLoc != "header" and $bodyLoc != "classDec"%
;
%endIf%
I'm not a C expert, are there good reasons for this static exclusion?
%if opStatic=="T"%
%endTemplate%