if ((p->inputArgTypeAndSize[0*2+0]==(sim_lua_arg_int))&&(p->inputArgTypeAndSize[1*2+0]==(sim_lua_arg_string))){
... do stuff..
}
But this only works for string, when I pass a character array like an image it doesn't work , it recognized as a string but I can not get the whole data (just until first terminator in array). "sim_lua_arg_char" dont exist so: how can I pass a char array to a plugin?
Last edited by dds on 30 May 2014, 13:32, edited 1 time in total.
this is currently not possible, but in next release you will be able to do it (with argument sim_lua_arg_charbuff) and 2 new members in the callback structure:
Hello thank you very much! I answered your email. I hope you will be able to incorporate these changes for the next version.
Thank you again.
Greetings!