summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-29 14:20:05 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-30 07:53:11 +0200
commit735ea444f2c15771736260fc78704f6b9132ceac (patch)
treef06900aed489e47b4144512dcddf06ebbc8f7417 /offapi
parent621cfc0e4120ab2b381b54268fe39bd19257df9b (diff)
Embind: Fix out-param handling
...by using UnoInOutParam in all cases. Some types whose Embind mappings don't employ any smart pointers (like any and sequence) would have worked directly with pointers, but others (like string and type) would have caused Embind errors at runtime. So consistently use UnoInOutParam in all cases (and generate bindings for all the used cases in embindmaker). Change-Id: If26551bf4e99d10748aec1597d6e99f994dfd86e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166854 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/org/libreoffice/embindtest/XTest.idl5
1 files changed, 4 insertions, 1 deletions
diff --git a/offapi/org/libreoffice/embindtest/XTest.idl b/offapi/org/libreoffice/embindtest/XTest.idl
index 38ac60a47618..b84753ebb8c6 100644
--- a/offapi/org/libreoffice/embindtest/XTest.idl
+++ b/offapi/org/libreoffice/embindtest/XTest.idl
@@ -117,7 +117,10 @@ interface XTest {
void getOut(
[out] boolean value1, [out] byte value2, [out] short value3, [out] unsigned short value4,
[out] long value5, [out] unsigned long value6, [out] hyper value7,
- [out] unsigned hyper value8, [out] float value9, [out] double value10, [out] char value11);
+ [out] unsigned hyper value8, [out] float value9, [out] double value10, [out] char value11,
+ [out] string value12, [out] type value13, [out] any value14,
+ [out] sequence<string> value15, [out] Enum value16, [out] Struct value17,
+ [out] XTest value18);
void throwRuntimeException();
void passJob([in] com::sun::star::task::XJob object);
void passJobExecutor([in] com::sun::star::task::XJobExecutor object);