Dusan Cervenka
Dusan Cervenka
mydefines.h: #define MY_FIRST_MACRO 10 idl: @include("mydefines.h") program .... @external const uint8_t MY_FIRST_MACRO=10
Hi @tmordeko in IDL you are missing external definition for MY_MAX_SIZE You need define MY_MAX_SIZE twice. Once in .h file and once in IDL as external
Hi @pgu-swir , currently we were not be aware of define string as another type than char. @MichalPrincNXP can decide if we would like to to support this use case....
Code snippet ``` program a @external type a=string interface B{ oneway f(a c) } ```
hi @pgu-swir , what about have the idl as i proposed but external variable 'a' wouldbe my_jerry_def instead of jerry_char_t. And outside of IDL you would define typedef my_jerry_def *jerry_char_t;
Clear now. So maybe we need only change read write string functions from **char to **void?
Hi @MichalPrincNXP , you have basically 3 options here how to solve the issue. Can you writte if you want solve this issue and how? Then @pgu-swir can do PR...
Hi @eugene345, yes this sounds like a limitation of C language. Simple solution could be have two IDL files where functions inside have different postfix. (for first pair it can...
Hi @eugene345 , sorry i am not enterly clear with your idea. If the device can be client or server but it is not changing during runtime, then you need...
Hi @eugene345, well in principle remote function name should be same on client and server side. I understand that this is bringing some restrictions based on programming language. Maybe good...