Warning in api file


#1

Hi,
I have created .api file and ENUM inside the file. I use my enum in functions, events etc. Everything works fine, however I don’t know why I have got warning every time I use it inside .api file. Warning says:

Unable to find predefined type named ‘PortsOUT’. Support for directly using these C types is a temporary measure and will be removed in a future release.

Warning

Can I get rid of the warning?


#2

Hi @TheGod

This is a known problem in DS api file editor.
Unfortunately, there is no workaround. Fortunately, it doesn’t impact the build and your projects will build fine despite of the editor warning.
We’re working at getting this fixed in the next DS release.