Vincent Torri schrieb:
>
>
> On Mon, 12 Mar 2007, Brian Mattern wrote:
>
>> On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote:
>>> Hi people.
>>>
>>> I needed a function to split a string into a list. My first func used
>>> Ecore_List * as return value, and dourse said me that's not
Tilman Sauerbeck wrote:
> Stéphane Bauland [2007-03-12 14:56]:
>
>> Brian Mattern wrote:
>>
>>> On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote:
>>>
>>>
>>>
+ * @param max_tokens The maximum number of strings to split string into.
If this is less than
Stéphane Bauland [2007-03-12 14:56]:
> Brian Mattern wrote:
> > On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote:
> >
> >
> >> + * @param max_tokens The maximum number of strings to split string into.
> >> If this is less than 1, the string is split completely.
> >>
> >
>
Brian Mattern wrote:
> On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote:
>
>
>> + * @param max_tokens The maximum number of strings to split string into.
>> If this is less than 1, the string is split completely.
>>
>
>
>
>> + if ( max_tokens < 1 ) max_tokens = 10
On Mon, 12 Mar 2007, Brian Mattern wrote:
On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote:
Hi people.
I needed a function to split a string into a list. My first func used
Ecore_List * as return value, and dourse said me that's not really good.
He said me to return a char **
On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote:
> + * @param max_tokens The maximum number of strings to split string into. If
> this is less than 1, the string is split completely.
> + if ( max_tokens < 1 ) max_tokens = 100;
Filthy lies :)
rephorm
-
On Mon, Mar 12, 2007 at 12:41:41PM +0100, Stéphane Bauland wrote:
> Hi people.
>
> I needed a function to split a string into a list. My first func used
> Ecore_List * as return value, and dourse said me that's not really good.
> He said me to return a char ** so i did it. And i put it under eco