To keep backward compactibility, let we keep CSharp_Dali_new_ProcessorController
works same as previous logic.
Instead, let we bind new API without Intialize, so we can create
ProcessorController non-main thread.
Change-Id: I8b473053f1ff9a223d5b347122140edb551ec3cc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
mProcessRegistered = true;
}
- CALL_CATCH_EXCEPTION();
+ CALL_CATCH_EXCEPTION();
}
}
ProcessorController *result = 0 ;
+ {
+ try {
+ result = (ProcessorController *)new ProcessorController();
+ result->RegisterProcess();
+ } CALL_CATCH_EXCEPTION(0);
+ }
+
+ return (void *)result;
+}
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ProcessorController_Without_Initialize() {
+
+ ProcessorController *result = 0 ;
+
{
try {
result = (ProcessorController *)new ProcessorController();