lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 8/17/11, Rebel Neurofog <rebelneurofog@gmail.com> wrote:
> Of course, I see no problem of taking auxsort () from ltablib.c to my code.
> But shouldn't it be accessible to outside world?

No, table.sort() is not part of the minimal core that is exposed by
the C API, is it part of the standard libraries. Some of the standard
library functions are just simple wrappers around core functions, but
not all of them - table.sort() is not, also table.insert(),
string.rep(), string.reverse(), etc.

-Duncan