|
Hello,
Is there a difference between using
return(0);
and
lua_pushnil(L);
return(1);
in C functions?
I wondered because I saw following (corrected) bug
in the list:
When `read' fails it must return nil (and not no
value).
I currently use the first version to return a
single nil value in my functions, since it is shorter, but would like to
know if there might be any problems.
|