lua-users home
lua-l archive

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


>> They say that Apple now prohibits using of any language other than
>> Objective C to develop applications for iPhone.

>> https://twitter.com/gruber/status/11837642274

> But Obj-C includes C and Lua *is* C :-)

Apparently even low-level things like strcpy() are banned. (And it
looks like it was banned even before new 3.1.1 clause.)

http://developer.appcelerator.com/blog/2010/03/the-apple-rejection-economy-and-therapy.html

And Lua uses strcpy()...

$ git grep -n strcpy
src/lobject.c:193:      strcpy(out, "");
src/lobject.c:204:      strcpy(out, "[string \"");
src/lstrlib.c:750:  strcpy(form + l - 1, LUA_INTFRMLEN);
src/luaconf.h:650:      strcpy(b, "/tmp/lua_XXXXXX"); \

But this is getting a bit off-topic, sorry.

Alexander.