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>2020-08-09 01:04:26 +0300
committerPatrick Pelissier <patrick.pelissier@gmail.com>2020-10-03 15:07:14 +0300
commit5722f19939a0382d5089deec07caedc343a3320f (patch)
tree459648cd7cb90a664bfa98cdff3d73dd9962c961 /m-funcobj.h
parent7cf14b5d8a71c885314a10d40780aabc3d7fb44c (diff)
Update comments
Diffstat (limited to 'm-funcobj.h')
-rw-r--r--m-funcobj.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/m-funcobj.h b/m-funcobj.h
index 41c8cae..9dc8a2e 100644
--- a/m-funcobj.h
+++ b/m-funcobj.h
@@ -75,7 +75,7 @@
/********************************** INTERNAL ************************************/
/********************************************************************************/
-/* To be used by M_IF_FUNCOBJ macro.
+/* To be used by M_IF_FUNCOBJ macro defined in m-core.
NOTE: It is reversed (0 instead of 1) so that it can be used in M_IF reliabely.
*/
#define M_FUNCOBJ_IS_NOT_DEFINED 0
@@ -104,7 +104,7 @@
#define FUNCOBJI_INS_ATTR_OPLIST_FAILURE(name, ...) \
((M_LIB_ERROR(ONE_ARGUMENT_OF_FUNC_OBJ_INS_OPLIST_IS_NOT_AN_OPLIST, name, __VA_ARGS__)))
-/* Define at least the oplist */
+/* Define the oplist of the instance */
#define FUNCOBJI_INS_ATTR_OPLIST_P3(name, ...) ( \
NAME(name), \
TYPE(M_C(name, _ct)), \
@@ -115,7 +115,7 @@
/* Specialization of the definition a function object interface of name 'name'
- * with a function like retcode () that doesn't have any input parameters.
+ * with a function like "retcode (void)" that doesn't have any input parameters.
* Define the following types to be used by instance:
* - M_C(name, _retcode_ct): internal type of the return code
* - M_C(name, _callback_ct): internal type of the callback.