> When a CLN is accessing a function which has a string pointer return
> type (as opposed to a pointer in the argument list), the CLN should be
> passing back a non-empty string. I'm hoping you mean that LV will
> automatically convert this C string to the equivalent LV string.
>
Yes, if LV allows you to cofigure the node with a pointer to a C style
string in either parameter or return value, LV will translate to and
from on the call.
In this specific case, LV has nothing to do on the call, but on the
return, it will inspect the pointer. If nonNull, it will call strlen
and strcpy to put the string info into a LV string. It will not free
the pointer as that is the normal behavior with returned string pointers.
Do you have problems
with this call, or are you just being cautious. If
you have problems, please be more specific.
Greg McKaskle