[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Comparing 2 strings
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 24 Jun 2003 09:40:43 -0300
>Is it possible to compare two strings which are already in lua (on top
>of the stack preferably), using the C interface? Or do i have to load
>them into C buffers?
How do you want to compare them? Here are a few possibilities:
Note that in the first case there is no need to copy the strings to C buffers.