Remove M_PRINT_ARG macro to simplify maintenance
(M_FPRINT_MACRO with stdout can be used instead)
This commit is contained in:
1 parent
fecece19cb
commit
d318493c6c
2 files changed
+3
-17
No files matched your search
@@ -6376,20 +6376,15 @@ Theses macros are only valid if the program is built in C11 mode:
|
||||
Return the printf format associated to the type of 'x'.
|
||||
'x' shall be a basic C variable, printable with printf.
|
||||
|
||||
##### M\_PRINT\_ARG(x)
|
||||
##### M\_FPRINT\_ARG(file, x)
|
||||
|
||||
Print using printf the variable 'x'.
|
||||
Print into a file 'file' using fprintf the variable 'x'.
|
||||
|
||||
The format of 'x' is deduced provided that it is a standard numerical C type.
|
||||
If m-string is included, it supports also the type 'string\_t' natively.
|
||||
If the argument is extended (i.e. in the format '(var, optype)' with optype being either an oplist or a type
|
||||
with a globally registered oplist), then it will call the OUT\_STR method of the oplist on the variable 'var'.
|
||||
|
||||
##### M\_FPRINT\_ARG(file, x)
|
||||
|
||||
Print into a file 'file' using fprintf the variable 'x'.
|
||||
See M\_PRINT\_ARG for details on the supported variable.
|
||||
|
||||
##### M\_GET\_STRING\_ARG(string,x,append)
|
||||
|
||||
Print into the string\_t 'string' the variable 'x'.
|
||||
|
||||
Reference in new issue
Block a user