lua-users home
lua-l archive

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

> The point, in case you missed it, was that many C libraries do various
> checking for invalid inputs, and that the degree of "you're on your own"
> is a result of design choices, not the C language.

You're right. But most libraries I've seen do not do any checking, starting
with the C library. Try fopen(NULL,NULL) or free("")...

And, yes, no hand-holding is a design choice in the Lua C API.