lua-users home
lua-l archive

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


Sorry, my fault.

Our limited platform means we can't use setjmp/longjmp and the
LUAI_TRY(L,c,a) macro wasn't ported correctly (a wasn't being called).

This caused all sorts of problems.

Anyway, it's working now.

Thanks for the quick turnaround of ideas.

Neil


-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Luiz Henrique
de Figueiredo
Sent: 02 February 2010 17:13
To: Lua list
Subject: Re: Initialisation Issue

> Linit.c is modified, but only to #ifdef out modules we don't use.

I can't see anything wrong...

But try changing it to
 
   {"_G", luaopen_base},

though the problem is probably somewhere else...

Also, don't stop the GC before calling luaL_openlibs.
This e-mail and any files transmitted with it ("E-mail") is intended solely for the addressee(s)
and may contain confidential and/or legally privileged information. If you are not the addressee(s), any
disclosure, reproduction, copying, distribution or other use of the E-mail is prohibited. If you have received
this E-mail in error, please delete it and notify the sender immediately via our switchboard or return e-mail.

Neither the company nor any subsidiary or affiliate or associated company nor any individual sending this E-mail
accepts any liability in respect of the content (including errors and omissions) nor shall this e-mail be deemed
to enter the company or any subsidiary or affiliate or associated company into a contract or to create any
legally binding obligations unless expressly agreed to in writing under separate cover and timeliness of the
E-mail which arise as a result of transmission. If verification is required, please request a hard copy version
from the sender.