Repository: celix
Updated Branches:
refs/heads/feature/CELIX-237_rsa-ffi b33c41c7b -> 36bd57740
CELIX-237: changed struct assignment for cpputest
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/36bd5774
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/36bd5774
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/36bd5774
Branch: refs/heads/feature/CELIX-237_rsa-ffi
Commit: 36bd57740bab79f0fe931f14b2f41ad4589df15c
Parents: b33c41c
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Sat Jul 4 18:12:27 2015 +0200
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Sat Jul 4 18:12:27 2015 +0200
----------------------------------------------------------------------
.../dynamic_function_interface/tst/dyn_function_tests.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/36bd5774/remote_services/dynamic_function_interface/tst/dyn_function_tests.cpp
----------------------------------------------------------------------
diff --git a/remote_services/dynamic_function_interface/tst/dyn_function_tests.cpp b/remote_services/dynamic_function_interface/tst/dyn_function_tests.cpp
index a2b7f69..9b7ff20 100644
--- a/remote_services/dynamic_function_interface/tst/dyn_function_tests.cpp
+++ b/remote_services/dynamic_function_interface/tst/dyn_function_tests.cpp
@@ -78,7 +78,10 @@ extern "C" {
CHECK_EQUAL(0, rc);
int32_t arg1 = 2;
- struct example2_arg arg2 = { .val1 = 2, .val2 = 3, .val3 = 4.1 };
+ struct example2_arg arg2;
+ arg2.val1 = 2;
+ arg2.val2 = 3;
+ arg2.val3 = 4.1;
double arg3 = 8.1;
double returnVal = 0;
void *values[3];
|