diff options
Diffstat (limited to 'src/lib/util/delegate.c')
-rw-r--r-- | src/lib/util/delegate.c | 17 |
1 files changed, 12 insertions, 5 deletions
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 { |