mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-12 04:26:43 +00:00
Added remark about arguments array in DObjectCallback
This commit is contained in:
parent
5ec9fd6afa
commit
fe13579fe3
@ -57,6 +57,10 @@ typedef void DosQObject;
|
||||
/// \param slotName The slotName as DosQVariant
|
||||
/// \param argc The number of arguments
|
||||
/// \param argv An array of DosQVariant pointers
|
||||
/// \note The first argument of \p argv is always the return value of the called slot.
|
||||
/// In other words the length of argv is always 1 + number of arguments of \p slotName.
|
||||
/// The return value should be assigned and modified by calling the dos_qvariant_assign()
|
||||
/// or other dos_qvariant_set... setters.
|
||||
/// \note The \p slotName is owned by the framework thus it \b shouldn't be deleted
|
||||
/// \note The \p argv array is owned by the library thus it \b shouldn't be deleted
|
||||
typedef void (DOS_CALL *DObjectCallback)(void *self, DosQVariant *slotName, int argc, DosQVariant **argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user