Ecere SDK/eC Forums • View topic - Can I define my own template functions?




Ecere SDK/eC Forums

Ecere Developers Community

Can I define my own template functions?

General help with the eC language.

Re: Can I define my own template functions?

Postby jerome » Thu Sep 06, 2012 1:41 am

Hi Sam,

CopyString() does the same as strdup, except that it does so with the eC allocator (eSystem_New() or simply the new operator).

Memory allocated by strdup() should be freed by the C stdlib's free(), whereas memory allocated with CopyString() must be freed by the delete operator.

I am very glad you're loving eC more and more :)
It's been moving slowly lately as I'm doing contracting work to pay up for the years I spent working fulltime on eC/Ecere, but I have hopes to have more time to improve it all much further in a near future! I also hope the amount of contributors and contributions go up as time goes on!

An Ecere SDK package has also recently been uploaded to the Debian archives, we're awaiting approval to be part of Debian! :D See http://ftp-master.debian.org/new.html

All the best,

Jerome
jerome
Site Admin
 
Posts: 621
Joined: Sat Jan 16, 2010 11:16 pm

Re: Can I define my own template functions?

Postby jerome » Thu Sep 06, 2012 1:46 am

Hey Sam, by the way we're back on the master branch :D dev is out of date right now.
jerome
Site Admin
 
Posts: 621
Joined: Sat Jan 16, 2010 11:16 pm

Re: Can I define my own template functions?

Postby samsam598 » Fri Aug 23, 2013 7:15 am

Hi Jerome,

You mentioned that at some extend class template has some limitations at that moment.I am wondering whether there is any improvement or new features in recent updates .Thanks.

Regards,
Sam
samsam598
 
Posts: 208
Joined: Thu Apr 14, 2011 9:44 pm

Re: Can I define my own template functions?

Postby jerome » Tue Dec 17, 2013 12:02 am

Hi Sam,

I'm sorry I completely missed that post!

I do believe there were some fixes to the templates, and particularly to the containers.
For example serialization of some of them was fixed.
More improvements to come. I should have more time to work on the SDK starting 2 weeks from now.

Regards,

Jerome
jerome
Site Admin
 
Posts: 621
Joined: Sat Jan 16, 2010 11:16 pm

Previous

Return to eC Language

Who is online

Users browsing this forum: No registered users and 3 guests

cron