summaryrefslogtreecommitdiff
path: root/src/tests/eolian_js/test_object.eo
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-02-10 11:55:43 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-02-22 18:56:30 -0300
commit7806b4184a35cfd1ae7c01a4b29c7647e96e7f5c (patch)
tree63077804950c571dd61d87e19298d2f260279ad1 /src/tests/eolian_js/test_object.eo
parent7249dd94ab41145c9a137e9420ea654955de39ce (diff)
js: Change test eos to ptr()
Diffstat (limited to '')
-rw-r--r--src/tests/eolian_js/test_object.eo24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/tests/eolian_js/test_object.eo b/src/tests/eolian_js/test_object.eo
index 38e03b5..98f4447 100644
--- a/src/tests/eolian_js/test_object.eo
+++ b/src/tests/eolian_js/test_object.eo
@@ -57,42 +57,42 @@ class Test.Object (Efl.Object) {
57 method_uppercase_check { 57 method_uppercase_check {
58 [[ tests string ]] 58 [[ tests string ]]
59 params { 59 params {
60 @inout str: char*; 60 @inout str: ptr(char);
61 } 61 }
62 } 62 }
63 method_in_null_check { 63 method_in_null_check {
64 [[ tests null input ]] 64 [[ tests null input ]]
65 params { 65 params {
66 a: char*; 66 a: ptr(char);
67 } 67 }
68 return: bool; 68 return: bool;
69 } 69 }
70 method_out_null_check { 70 method_out_null_check {
71 [[ tests null output ]] 71 [[ tests null output ]]
72 params { 72 params {
73 @out a: char*; 73 @out a: ptr(char);
74 } 74 }
75 return: bool; 75 return: bool;
76 } 76 }
77 method_inout_null_check { 77 method_inout_null_check {
78 [[ tests null output ]] 78 [[ tests null output ]]
79 params { 79 params {
80 @inout a: char*; 80 @inout a: ptr(char);
81 } 81 }
82 return: bool; 82 return: bool;
83 } 83 }
84 method_return_null_check { 84 method_return_null_check {
85 [[ tests null return ]] 85 [[ tests null return ]]
86 return: char*; 86 return: ptr(char);
87 } 87 }
88 method_null_check { 88 method_null_check {
89 [[ tests null values ]] 89 [[ tests null values ]]
90 params { 90 params {
91 in: char*; 91 in: ptr(char);
92 @out out: char*; 92 @out out: ptr(char);
93 @inout inout: char*; 93 @inout inout: ptr(char);
94 } 94 }
95 return: char*; 95 return: ptr(char);
96 } 96 }
97 method_array_at_check { 97 method_array_at_check {
98 [[ tests array ]] 98 [[ tests array ]]
@@ -317,15 +317,15 @@ class Test.Object (Efl.Object) {
317 return: list<array<int> >; 317 return: list<array<int> >;
318 } 318 }
319 method_list_with_opaque_elements_check { 319 method_list_with_opaque_elements_check {
320 return: const(list<Elm.Calendar.Mark*>); 320 return: const(list<ptr(Elm.Calendar.Mark)>);
321 } 321 }
322 method_in_enum_return_enum_check { 322 method_in_enum_return_enum_check {
323 params { e: Test.Enum_Ex; } 323 params { e: Test.Enum_Ex; }
324 return: Test.Enum_Ex; 324 return: Test.Enum_Ex;
325 } 325 }
326 method_in_struct_return_struct_check { 326 method_in_struct_return_struct_check {
327 params { e: Test.Struct_Ex *; } 327 params { e: ptr(Test.Struct_Ex); }
328 return: Test.Struct_Ex *; 328 return: ptr(Test.Struct_Ex);
329 } 329 }
330 event_emit { 330 event_emit {
331 } 331 }