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 ecore_str.
The patch have two functions. The one to allocate the array of
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
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 = 100;
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.
+ if (
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 really
good.