Functions related to the QHash class.
More...
Functions related to the QHash class.
◆ dos_qhash_int_qbytearray_create()
◆ dos_qhash_int_qbytearray_delete()
Free the memory allocated for the QHash<int, QByteArray>
- Parameters
-
vptr | The QHash<int, QByteArray> |
◆ dos_qhash_int_qbytearray_insert()
DOS_API void dos_qhash_int_qbytearray_insert |
( |
DosQHashIntQByteArray * |
vptr, |
|
|
int |
key, |
|
|
const char * |
value |
|
) |
| |
Calls the QHash<int, QByteArray>::insert() function.
- Parameters
-
vptr | The QHash<int, QByteArray> |
key | The key |
value | The UTF-8 string |
- Note
- The
value
string is owned by the caller thus it will not be freed
◆ dos_qhash_int_qbytearray_value()
Calls the QHash<int, QByteArray>::value() function.
- Parameters
-
vptr | The QHash<int, QByteArray> |
key | The key to which retrive the value |
- Returns
- The UTF-8 string associated to the given value
- Note
- The returned string should be freed by calling the dos_chararray_delete() function