Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/P-p-H-d/mlib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Pelissier <Patrick.Pelissier@gmail.com>2023-12-23 01:46:07 +0300
committerPatrick Pelissier <Patrick.Pelissier@gmail.com>2023-12-23 01:46:07 +0300
commitd318493c6cd9f25fc2af331b178b5d1f745943bb (patch)
tree070b3967d26b0d6c94934d10f4bf700ae09bdffb /README.md
parentfecece19cb52d78edda57b97e08650e884fd2e19 (diff)
Remove M_PRINT_ARG macro to simplify maintenance
(M_FPRINT_MACRO with stdout can be used instead)
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 2 insertions, 7 deletions
diff --git a/README.md b/README.md
index 745ee38..4bf54ff 100644
--- a/README.md
+++ b/README.md
@@ -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'.