-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetDeviceName(void * jarg1, char * jarg2) {
- Dali::KeyEvent *arg1 = 0 ;
- std::string *arg2 = 0 ;
-
- arg1 = (Dali::KeyEvent *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
- return ;
- }
- if (!jarg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
- return ;
- }
- std::string arg2_str(jarg2);
- arg2 = &arg2_str;
- {
- try {
- Dali::DevelKeyEvent::SetDeviceName(*arg1,(std::string const &)*arg2);
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
- //argout typemap for const std::string&
-
-}
-