That's a tricky one !
To be recognised as an outlet, the object seems to need to be in the patch directory.
If i put it in the tiar/patch directory, it is not recognised as an outlet !
and even more, it seems that the object must be called "outlet string".
Maybe there is something hard coded in the editor ?
In the gcc documentation i found a way to deactivate the limitation.
#pragma GCC diagnostic push
#pragma GCC diagnostic warning "-fpermissive"
_outlet = inlet_outlet;
#pragma GCC diagnostic pop
Here is the object:
outlet string.axo (749 Bytes)
It must be placed in a directory called "patch" under your object folder.
On a PC it means its path must be
so that it is recognized by the editor as an outlet.
Some insight from coders familiar with the editor internals would be great (i like to understand why it seems to work this way).