diff options
author | 2015-07-20 08:11:41 +0200 | |
---|---|---|
committer | 2015-07-20 08:11:41 +0200 | |
commit | 4bcb0c13f50ddb1cd3fd0341b4bb31d9c3c7fc7a (patch) | |
tree | 55eccacfca0e69435d0d4e6615205310ca11f271 /src/lib/util/delegate.c | |
parent | d132946c6f45aa8d271c6180e86f72dd08243048 (diff) | |
parent | 229785f695b26c702c8490792611f59d0366a933 (diff) |
Merge pull request #5 from mamedev/master
Sync to base master
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..2245cf14bcb 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 { |