From b6ce8ee991c7e14ca214a2931bfbc4e4a5a0dc0f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 7 Jun 2015 17:37:34 +0200 Subject: Licenses for Raphael Nabet (nw) --- src/lib/util/delegate.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/lib/util/delegate.c') diff --git a/src/lib/util/delegate.c b/src/lib/util/delegate.c index 6c688f72985..5abf04b3a32 100644 --- a/src/lib/util/delegate.c +++ b/src/lib/util/delegate.c @@ -32,11 +32,18 @@ delegate_mfp::raw_mfp_data delegate_mfp::s_null_mfp = { 0 }; #if (USE_DELEGATE_TYPE == DELEGATE_TYPE_INTERNAL) -//------------------------------------------------- -// delegate_convert_raw - given an object and -// an raw function, adjust the object base and -// return the actual final code pointer -//------------------------------------------------- +/** + * @fn delegate_generic_function delegate_mfp::convert_to_generic(delegate_generic_class *&object) const + * + * @brief ------------------------------------------------- + * delegate_convert_raw - given an object and an raw function, adjust the object base + * and return the actual final code pointer + * -------------------------------------------------. + * + * @param [in,out] object [in,out] If non-null, the object. + * + * @return The given data converted to a generic. + */ delegate_generic_function delegate_mfp::convert_to_generic(delegate_generic_class *&object) const { -- cgit v1.2.3-70-g09d2