diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-01-31 13:44:23 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-01-31 21:18:48 +0100 |
| commit | 43f66e619176e4903aa62a30dc5ae2122e22f13a (patch) | |
| tree | a6cb7ffc14e1f57f4d20606583d0b79e727be103 /src/sql/doc/snippets/code | |
| parent | 76cf922980cf0cde7cb03f4bec8f17eab94a5767 (diff) | |
JNI: pass POD parameters by value
All calls to the fromVarArg() conversion helper are made with JNI types
from a va_arg list, so they have to be either primitive types, or a pointer
(jobject, which internally is a _jobject *). There's no benefit from
moving those or passing them by reference; the most efficient convention
is to pass them by value.
Pick-to: 6.7
Change-Id: I6fed9b202be3c6a265117684fecd51d03ccbb534
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
