Merge "Remove Not Referenced APIs" into devel/master
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / dali-scene3d / motion-index-wrap.cpp
1 /*
2  * Copyright (c) 2023 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 // EXTERNAL INCLUDES
19 #include <dali-scene3d/public-api/model-motion/motion-index/blend-shape-index.h>
20 #include <dali-scene3d/public-api/model-motion/motion-index/motion-index.h>
21 #include <dali-scene3d/public-api/model-motion/motion-index/motion-property-index.h>
22 #include <dali-scene3d/public-api/model-motion/motion-index/motion-transform-index.h>
23
24 // INTERNAL INCLUDES
25 #include <dali-csharp-binder/common/common.h>
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 // MotionIndex
32
33
34 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_MotionIndex_SWIG_1(void* csMotionIndex)
35 {
36   Dali::Scene3D::MotionIndex* motionIndex = (Dali::Scene3D::MotionIndex*)csMotionIndex;
37   Dali::Scene3D::MotionIndex* result     = 0;
38
39   if(!motionIndex)
40   {
41     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionIndex const & type is null", 0);
42     return 0;
43   }
44   {
45     try
46     {
47       result = (Dali::Scene3D::MotionIndex*)new Dali::Scene3D::MotionIndex((Dali::Scene3D::MotionIndex const&)*motionIndex);
48     }
49     CALL_CATCH_EXCEPTION(0);
50   }
51
52   return (void*)result;
53 }
54
55 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_MotionIndex(void* csMotionIndex)
56 {
57   Dali::Scene3D::MotionIndex* motionIndex = (Dali::Scene3D::MotionIndex*)csMotionIndex;
58   {
59     try
60     {
61       delete motionIndex;
62     }
63     CALL_CATCH_EXCEPTION();
64   }
65 }
66
67 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionIndex_Assign(void* csDestination, void* csSource)
68 {
69   Dali::Scene3D::MotionIndex* destination = (Dali::Scene3D::MotionIndex*)csDestination;
70   Dali::Scene3D::MotionIndex* source      = (Dali::Scene3D::MotionIndex*)csSource;
71   Dali::Scene3D::MotionIndex* result      = 0;
72
73   if(!source)
74   {
75     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionIndex const & type is null", 0);
76     return 0;
77   }
78   {
79     try
80     {
81       result = (Dali::Scene3D::MotionIndex*)&(destination)->operator=((Dali::Scene3D::MotionIndex const&)*source);
82     }
83     CALL_CATCH_EXCEPTION(0);
84   }
85
86   return (void*)result;
87 }
88
89
90 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_MotionIndex_SetModelNodeId(void* csMotionIndex, void* csPropertyKey)
91 {
92   Dali::Scene3D::MotionIndex* motionIndex = (Dali::Scene3D::MotionIndex*)csMotionIndex;
93   Dali::Property::Key*        propertyKey = (Dali::Property::Key*)csPropertyKey;
94
95   if(!motionIndex)
96   {
97     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Scene3D::MotionIndex", 0);
98     return;
99   }
100   if(!propertyKey)
101   {
102     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Key const & type is null", 0);
103     return;
104   }
105   {
106     try
107     {
108       motionIndex->SetModelNodeId(*propertyKey);
109     }
110     CALL_CATCH_EXCEPTION();
111   }
112 }
113
114 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionIndex_GetModelNodeId(void* csMotionIndex)
115 {
116   Dali::Scene3D::MotionIndex* motionIndex = (Dali::Scene3D::MotionIndex*)csMotionIndex;
117   Dali::Property::Key         result      = Dali::Property::INVALID_KEY;
118
119   if(!motionIndex)
120   {
121     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Scene3D::MotionIndex", 0);
122     return 0;
123   }
124   {
125     try
126     {
127       result = motionIndex->GetModelNodeId();
128     }
129     CALL_CATCH_EXCEPTION(0);
130   }
131
132   return new Dali::Property::Key((Dali::Property::Key const &)result);
133 }
134
135 // BlendShapeIndex
136
137 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_BlendShapeIndex_New_SWIG_0()
138 {
139   Dali::Scene3D::BlendShapeIndex result;
140
141   {
142     try
143     {
144       result = Dali::Scene3D::BlendShapeIndex::New();
145     }
146     CALL_CATCH_EXCEPTION(0);
147   }
148
149   return new Dali::Scene3D::BlendShapeIndex((const Dali::Scene3D::BlendShapeIndex&)result);
150 }
151
152 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_BlendShapeIndex_New_SWIG_1(void* csBlendShapePropertyKey)
153 {
154   Dali::Property::Key*           blendShapePropertyKey = (Dali::Property::Key*)csBlendShapePropertyKey;
155   Dali::Scene3D::BlendShapeIndex result;
156
157   if(!blendShapePropertyKey)
158   {
159     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Key const & type is null", 0);
160     return 0;
161   }
162   {
163     try
164     {
165       result = Dali::Scene3D::BlendShapeIndex::New(*blendShapePropertyKey);
166     }
167     CALL_CATCH_EXCEPTION(0);
168   }
169
170   return new Dali::Scene3D::BlendShapeIndex((const Dali::Scene3D::BlendShapeIndex&)result);
171 }
172
173 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_BlendShapeIndex_New_SWIG_2(void* csModelNodePropertKey, void* csBlendShapePropertyKey)
174 {
175   Dali::Property::Key*           modelNodePropertyKey  = (Dali::Property::Key*)csModelNodePropertKey;
176   Dali::Property::Key*           blendShapePropertyKey = (Dali::Property::Key*)csBlendShapePropertyKey;
177   Dali::Scene3D::BlendShapeIndex result;
178
179   if(!modelNodePropertyKey)
180   {
181     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "modelNodePropertyKey Dali::Property::Key const & type is null", 0);
182     return 0;
183   }
184   if(!blendShapePropertyKey)
185   {
186     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "blendShapePropertyKey Dali::Property::Key const & type is null", 0);
187     return 0;
188   }
189   {
190     try
191     {
192       result = Dali::Scene3D::BlendShapeIndex::New(*modelNodePropertyKey, *blendShapePropertyKey);
193     }
194     CALL_CATCH_EXCEPTION(0);
195   }
196
197   return new Dali::Scene3D::BlendShapeIndex((const Dali::Scene3D::BlendShapeIndex&)result);
198 }
199
200
201 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_BlendShapeIndex_SWIG_1(void* csBlendShapeIndex)
202 {
203   Dali::Scene3D::BlendShapeIndex* blendShapeIndex = (Dali::Scene3D::BlendShapeIndex*)csBlendShapeIndex;
204   Dali::Scene3D::BlendShapeIndex* result     = 0;
205
206   if(!blendShapeIndex)
207   {
208     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::BlendShapeIndex const & type is null", 0);
209     return 0;
210   }
211   {
212     try
213     {
214       result = (Dali::Scene3D::BlendShapeIndex*)new Dali::Scene3D::BlendShapeIndex((Dali::Scene3D::BlendShapeIndex const&)*blendShapeIndex);
215     }
216     CALL_CATCH_EXCEPTION(0);
217   }
218
219   return (void*)result;
220 }
221
222 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_BlendShapeIndex(void* csBlendShapeIndex)
223 {
224   Dali::Scene3D::BlendShapeIndex* blendShapeIndex = (Dali::Scene3D::BlendShapeIndex*)csBlendShapeIndex;
225   {
226     try
227     {
228       delete blendShapeIndex;
229     }
230     CALL_CATCH_EXCEPTION();
231   }
232 }
233
234 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_BlendShapeIndex_Assign(void* csDestination, void* csSource)
235 {
236   Dali::Scene3D::BlendShapeIndex* destination = (Dali::Scene3D::BlendShapeIndex*)csDestination;
237   Dali::Scene3D::BlendShapeIndex* source      = (Dali::Scene3D::BlendShapeIndex*)csSource;
238   Dali::Scene3D::BlendShapeIndex* result      = 0;
239
240   if(!source)
241   {
242     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::BlendShapeIndex const & type is null", 0);
243     return 0;
244   }
245   {
246     try
247     {
248       result = (Dali::Scene3D::BlendShapeIndex*)&(destination)->operator=((Dali::Scene3D::BlendShapeIndex const&)*source);
249     }
250     CALL_CATCH_EXCEPTION(0);
251   }
252
253   return (void*)result;
254 }
255
256
257 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_BlendShapeIndex_SetBlendShapeId(void* csBlendShapeIndex, void* csBlendShapePropertyKey)
258 {
259   Dali::Scene3D::BlendShapeIndex* blendShapeIndex       = (Dali::Scene3D::BlendShapeIndex*)csBlendShapeIndex;
260   Dali::Property::Key*            blendShapePropertyKey = (Dali::Property::Key*)csBlendShapePropertyKey;
261
262   if(!blendShapeIndex)
263   {
264     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::BlendShapeIndex const & type is null", 0);
265     return;
266   }
267   if(!blendShapePropertyKey)
268   {
269     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Key const & type is null", 0);
270     return;
271   }
272   {
273     try
274     {
275       blendShapeIndex->SetBlendShapeId(*blendShapePropertyKey);
276     }
277     CALL_CATCH_EXCEPTION();
278   }
279 }
280
281 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_BlendShapeIndex_GetBlendShapeId(void* csBlendShapeIndex)
282 {
283   Dali::Scene3D::BlendShapeIndex* blendShapeIndex = (Dali::Scene3D::BlendShapeIndex*)csBlendShapeIndex;
284   Dali::Property::Key             result          = Dali::Property::INVALID_KEY;
285
286   if(!blendShapeIndex)
287   {
288     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::BlendShapeIndex const & type is null", 0);
289     return 0;
290   }
291   {
292     try
293     {
294       result = blendShapeIndex->GetBlendShapeId();
295     }
296     CALL_CATCH_EXCEPTION(0);
297   }
298
299   return new Dali::Property::Key((Dali::Property::Key const &)result);
300 }
301
302 // MotionPropertyIndex
303
304 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionPropertyIndex_New_SWIG_0()
305 {
306   Dali::Scene3D::MotionPropertyIndex result;
307
308   {
309     try
310     {
311       result = Dali::Scene3D::MotionPropertyIndex::New();
312     }
313     CALL_CATCH_EXCEPTION(0);
314   }
315
316   return new Dali::Scene3D::MotionPropertyIndex((const Dali::Scene3D::MotionPropertyIndex&)result);
317 }
318
319 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionPropertyIndex_New_SWIG_1(void* csModelNodePropertKey, void* csPropertyKey)
320 {
321   Dali::Property::Key*               modelNodePropertyKey  = (Dali::Property::Key*)csModelNodePropertKey;
322   Dali::Property::Key*               propertyKey           = (Dali::Property::Key*)csPropertyKey;
323   Dali::Scene3D::MotionPropertyIndex result;
324
325   if(!modelNodePropertyKey)
326   {
327     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "modelNodePropertyKey Dali::Property::Key const & type is null", 0);
328     return 0;
329   }
330   if(!propertyKey)
331   {
332     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "propertyKey Dali::Property::Key const & type is null", 0);
333     return 0;
334   }
335   {
336     try
337     {
338       result = Dali::Scene3D::MotionPropertyIndex::New(*modelNodePropertyKey, *propertyKey);
339     }
340     CALL_CATCH_EXCEPTION(0);
341   }
342
343   return new Dali::Scene3D::MotionPropertyIndex((const Dali::Scene3D::MotionPropertyIndex&)result);
344 }
345
346
347 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_MotionPropertyIndex_SWIG_1(void* csMotionPropertyIndex)
348 {
349   Dali::Scene3D::MotionPropertyIndex* motionPropertyIndex = (Dali::Scene3D::MotionPropertyIndex*)csMotionPropertyIndex;
350   Dali::Scene3D::MotionPropertyIndex* result              = 0;
351
352   if(!motionPropertyIndex)
353   {
354     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionPropertyIndex const & type is null", 0);
355     return 0;
356   }
357   {
358     try
359     {
360       result = (Dali::Scene3D::MotionPropertyIndex*)new Dali::Scene3D::MotionPropertyIndex((Dali::Scene3D::MotionPropertyIndex const&)*motionPropertyIndex);
361     }
362     CALL_CATCH_EXCEPTION(0);
363   }
364
365   return (void*)result;
366 }
367
368 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_MotionPropertyIndex(void* csMotionPropertyIndex)
369 {
370   Dali::Scene3D::MotionPropertyIndex* motionPropertyIndex = (Dali::Scene3D::MotionPropertyIndex*)csMotionPropertyIndex;
371   {
372     try
373     {
374       delete motionPropertyIndex;
375     }
376     CALL_CATCH_EXCEPTION();
377   }
378 }
379
380 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionPropertyIndex_Assign(void* csDestination, void* csSource)
381 {
382   Dali::Scene3D::MotionPropertyIndex* destination = (Dali::Scene3D::MotionPropertyIndex*)csDestination;
383   Dali::Scene3D::MotionPropertyIndex* source      = (Dali::Scene3D::MotionPropertyIndex*)csSource;
384   Dali::Scene3D::MotionPropertyIndex* result      = 0;
385
386   if(!source)
387   {
388     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionPropertyIndex const & type is null", 0);
389     return 0;
390   }
391   {
392     try
393     {
394       result = (Dali::Scene3D::MotionPropertyIndex*)&(destination)->operator=((Dali::Scene3D::MotionPropertyIndex const&)*source);
395     }
396     CALL_CATCH_EXCEPTION(0);
397   }
398
399   return (void*)result;
400 }
401
402
403 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_MotionPropertyIndex_SetPropertyId(void* csMotionPropertyIndex, void* csPropertyKey)
404 {
405   Dali::Scene3D::MotionPropertyIndex* motionPropertyIndex = (Dali::Scene3D::MotionPropertyIndex*)csMotionPropertyIndex;
406   Dali::Property::Key*                propertyKey         = (Dali::Property::Key*)csPropertyKey;
407
408   if(!motionPropertyIndex)
409   {
410     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionPropertyIndex const & type is null", 0);
411     return;
412   }
413   if(!propertyKey)
414   {
415     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Key const & type is null", 0);
416     return;
417   }
418   {
419     try
420     {
421       motionPropertyIndex->SetPropertyId(*propertyKey);
422     }
423     CALL_CATCH_EXCEPTION();
424   }
425 }
426
427 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionPropertyIndex_GetPropertyId(void* csMotionPropertyIndex)
428 {
429   Dali::Scene3D::MotionPropertyIndex* motionPropertyIndex = (Dali::Scene3D::MotionPropertyIndex*)csMotionPropertyIndex;
430   Dali::Property::Key                 result              = Dali::Property::INVALID_KEY;
431
432   if(!motionPropertyIndex)
433   {
434     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionPropertyIndex const & type is null", 0);
435     return 0;
436   }
437   {
438     try
439     {
440       result = motionPropertyIndex->GetPropertyId();
441     }
442     CALL_CATCH_EXCEPTION(0);
443   }
444
445   return new Dali::Property::Key((Dali::Property::Key const &)result);
446 }
447
448 // MotionTransformIndex
449
450 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionTransformIndex_New_SWIG_0()
451 {
452   Dali::Scene3D::MotionTransformIndex result;
453
454   {
455     try
456     {
457       result = Dali::Scene3D::MotionTransformIndex::New();
458     }
459     CALL_CATCH_EXCEPTION(0);
460   }
461
462   return new Dali::Scene3D::MotionTransformIndex((const Dali::Scene3D::MotionTransformIndex&)result);
463 }
464
465 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionTransformIndex_New_SWIG_1(void* csModelNodePropertKey, int csTransformType)
466 {
467   Dali::Property::Key*                modelNodePropertyKey  = (Dali::Property::Key*)csModelNodePropertKey;
468   Dali::Scene3D::MotionTransformIndex result;
469
470   if(!modelNodePropertyKey)
471   {
472     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "modelNodePropertyKey Dali::Property::Key const & type is null", 0);
473     return 0;
474   }
475   {
476     try
477     {
478       result = Dali::Scene3D::MotionTransformIndex::New(*modelNodePropertyKey, static_cast<Dali::Scene3D::MotionTransformIndex::TransformType>(csTransformType));
479     }
480     CALL_CATCH_EXCEPTION(0);
481   }
482
483   return new Dali::Scene3D::MotionTransformIndex((const Dali::Scene3D::MotionTransformIndex&)result);
484 }
485
486
487 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_MotionTransformIndex_SWIG_1(void* csMotionTransformIndex)
488 {
489   Dali::Scene3D::MotionTransformIndex* motionTransformIndex = (Dali::Scene3D::MotionTransformIndex*)csMotionTransformIndex;
490   Dali::Scene3D::MotionTransformIndex* result              = 0;
491
492   if(!motionTransformIndex)
493   {
494     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionTransformIndex const & type is null", 0);
495     return 0;
496   }
497   {
498     try
499     {
500       result = (Dali::Scene3D::MotionTransformIndex*)new Dali::Scene3D::MotionTransformIndex((Dali::Scene3D::MotionTransformIndex const&)*motionTransformIndex);
501     }
502     CALL_CATCH_EXCEPTION(0);
503   }
504
505   return (void*)result;
506 }
507
508 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_MotionTransformIndex(void* csMotionTransformIndex)
509 {
510   Dali::Scene3D::MotionTransformIndex* motionTransformIndex = (Dali::Scene3D::MotionTransformIndex*)csMotionTransformIndex;
511   {
512     try
513     {
514       delete motionTransformIndex;
515     }
516     CALL_CATCH_EXCEPTION();
517   }
518 }
519
520 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_MotionTransformIndex_Assign(void* csDestination, void* csSource)
521 {
522   Dali::Scene3D::MotionTransformIndex* destination = (Dali::Scene3D::MotionTransformIndex*)csDestination;
523   Dali::Scene3D::MotionTransformIndex* source      = (Dali::Scene3D::MotionTransformIndex*)csSource;
524   Dali::Scene3D::MotionTransformIndex* result      = 0;
525
526   if(!source)
527   {
528     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionTransformIndex const & type is null", 0);
529     return 0;
530   }
531   {
532     try
533     {
534       result = (Dali::Scene3D::MotionTransformIndex*)&(destination)->operator=((Dali::Scene3D::MotionTransformIndex const&)*source);
535     }
536     CALL_CATCH_EXCEPTION(0);
537   }
538
539   return (void*)result;
540 }
541
542
543 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_MotionTransformIndex_SetTransformType(void* csMotionTransformIndex, int csTransformType)
544 {
545   Dali::Scene3D::MotionTransformIndex* motionTransformIndex = (Dali::Scene3D::MotionTransformIndex*)csMotionTransformIndex;
546
547   if(!motionTransformIndex)
548   {
549     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionTransformIndex const & type is null", 0);
550     return;
551   }
552   {
553     try
554     {
555       motionTransformIndex->SetTransformType(static_cast<Dali::Scene3D::MotionTransformIndex::TransformType>(csTransformType));
556     }
557     CALL_CATCH_EXCEPTION();
558   }
559 }
560
561 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MotionTransformIndex_GetTransformType(void* csMotionTransformIndex)
562 {
563   Dali::Scene3D::MotionTransformIndex* motionTransformIndex = (Dali::Scene3D::MotionTransformIndex*)csMotionTransformIndex;
564   int                                  result;
565
566   if(!motionTransformIndex)
567   {
568     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Scene3D::MotionTransformIndex const & type is null", 0);
569     return 0;
570   }
571   {
572     try
573     {
574       result = static_cast<int>(motionTransformIndex->GetTransformType());
575     }
576     CALL_CATCH_EXCEPTION(0);
577   }
578
579   return result;
580 }
581
582 #ifdef __cplusplus
583 }
584 #endif