Moved all quoting of docs to print functions.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 8s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 8s
This commit is contained in:
parent
ff16e6b5cb
commit
760ebffb6f
37 changed files with 410 additions and 409 deletions
|
|
@ -2,26 +2,26 @@
|
|||
define mb-make-check-variable
|
||||
$(MB_ᕽᕽᕽ )$(if $($(1)),,$(error $(1): $(MB_I18N_MAKE_CHECK_VARIABLE)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-variable,"Checks that a variable is not empty.","<variable>")
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-variable,Checks that a variable is not empty.,<variable>)
|
||||
|
||||
|
||||
define mb-make-check-value-valid
|
||||
$(MB_ᕽᕽᕽ )$(if $(filter $(2),$(3)),,$(error $(1): $(MB_I18N_MAKE_CHECK_VALUE_VALID) $(2) $(3)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-value-valid,"Checks that a value is valid.","<value> <valid-values>")
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-value-valid,Checks that a value is valid.,<value> <valid-values>)
|
||||
|
||||
|
||||
define mb-make-check-arg1
|
||||
$(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg1,"Checks that a function has a given argument.","<function> <arg1>")
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg1,Checks that a function has a given argument.,<function> <arg1>)
|
||||
|
||||
|
||||
define mb-make-check-arg2
|
||||
$(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(3),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG2)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg2,"Checks that a function has the given arguments.","<function> <arg1> <arg2>")
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg2,Checks that a function has the given arguments.,<function> <arg1> <arg2>)
|
||||
|
||||
|
||||
define mb-make-check-arg3
|
||||
|
|
@ -29,7 +29,7 @@ $(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1))) \
|
|||
$(MB_ᕽᕽᕽ )$(if $(3),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG2))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(4),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG3)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg3,"Checks that a function has the given arguments.","<function> <arg1> <arg2> <arg3>")
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg3,Checks that a function has the given arguments.,<function> <arg1> <arg2> <arg3>)
|
||||
|
||||
|
||||
define mb-make-check-arg4
|
||||
|
|
@ -38,7 +38,7 @@ $(MB_ᕽᕽᕽ )$(if $(3),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG2))) \
|
|||
$(MB_ᕽᕽᕽ )$(if $(4),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG3))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(5),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG4)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg4,"Checks that a function has the given arguments.","<function> <arg1> <arg2> <arg3> <arg4>")
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg4,Checks that a function has the given arguments.,<function> <arg1> <arg2> <arg3> <arg4>)
|
||||
|
||||
|
||||
define mb-make-check-arg5
|
||||
|
|
@ -48,5 +48,5 @@ $(MB_ᕽᕽᕽ )$(if $(4),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG3))) \
|
|||
$(MB_ᕽᕽᕽ )$(if $(5),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG4))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(6),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG5)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg5,"Checks that a function has the given arguments.","<function> <arg1> <arg2> <arg3> <arg4> <arg5>")
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-arg5,Checks that a function has the given arguments.,<function> <arg1> <arg2> <arg3> <arg4> <arg5>)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue