[mikroC v.7.0.0.0 BETA] free not free ?

Discuss about beta versions of mikroC compiler.
Author
Message
bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

[mikroC v.7.0.0.0 BETA] free not free ?

#1 Post by bruno » 18 Jul 2007 11:53

Hello,

I'm preparing dynamic memory management routines, and I wanted to name a function "free()" to free memory, as it is in standard lib, but this symbol seems not to be free :shock:
Just wondering if it is final or not ?
Not a big deal anyway, can name it mfree() or memfree(). I will also rename malloc() to memalloc() :mrgreen:

Thanks !

Bruno
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: [mikroC v.7.0.0.0 BETA] free not free ?

#2 Post by zristic » 18 Jul 2007 12:01

May I suggest "la_liberacion()"? :lol:

User avatar
rajkovic
mikroElektronika team
Posts: 694
Joined: 16 Aug 2004 12:40

Re: [mikroC v.7.0.0.0 BETA] free not free ?

#3 Post by rajkovic » 18 Jul 2007 12:03

bruno wrote:Hello,

I'm preparing dynamic memory management routines, and I wanted to name a function "free()" to free memory, as it is in standard lib, but this symbol seems not to be free :shock:
Just wondering if it is final or not ?
Not a big deal anyway, can name it mfree() or memfree(). I will also rename malloc() to memalloc() :mrgreen:

Thanks !

Bruno
we could free free 8).

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

#4 Post by bruno » 18 Jul 2007 13:45

Feel free to free free :!:
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

Re: [mikroC v.7.0.0.0 BETA] free not free ?

#5 Post by bruno » 18 Jul 2007 13:55

zristic wrote:May I suggest "la_liberacion()"? :lol:
:?: does it mean I have to rename malloc() to encarcelamiento() :wink:
and realloc() to viva_la_revolucion() :!:
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: [mikroC v.7.0.0.0 BETA] free not free ?

#6 Post by zristic » 18 Jul 2007 14:24

How about Hasta_La_Vittoria_Sempre()?

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

#7 Post by bruno » 18 Jul 2007 15:10

Image
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#8 Post by zristic » 18 Jul 2007 16:26

Obviously, the photo shows Fortran programmers, you can say that by the way in which organized the queue.
Why would they need free anyway?

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

#9 Post by bruno » 18 Jul 2007 16:57

Maybe they are freelancers :roll: :?:
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

#10 Post by jpc » 18 Jul 2007 19:09

free is not everything as this thread demonstrates , i was free today, went out to enjoy my freedom , but then back home , ( already had strange vibrations all afternoon) i found this fascinating discussion and immediately started cleaning my heap. Told my girl i will malloc at least half day tomorrow

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#11 Post by zristic » 19 Jul 2007 09:19

Those fortran programmers did not let me sleep last night.
Instead of standing in line, one by one, they found freedom in making a matrix NxM.
Are they free in the Matrix, anyway?

CGEngineering
Posts: 144
Joined: 09 May 2007 23:31
Location: Florence - Italy
Contact:

#12 Post by CGEngineering » 19 Jul 2007 10:01

zristic wrote:Those fortran programmers did not let me sleep last night.
Instead of standing in line, one by one, they found freedom in making a matrix NxM.
Are they free in the Matrix, anyway?
Try to diagonalize that matrix...maybe you can find some auto-values, auto-vectors and auto-spaces ! :D

Bye
CG

bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

#13 Post by bruno » 19 Jul 2007 10:16

Image
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

User avatar
rajkovic
mikroElektronika team
Posts: 694
Joined: 16 Aug 2004 12:40

#14 Post by rajkovic » 19 Jul 2007 10:29

bruno wrote:Image
I have always suspected that zristic is secret fan of Fortran. it would not surprise me that he write his diary in Fortran.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#15 Post by zristic » 19 Jul 2007 10:31

bruno wrote:Zoran, what are you doing here???
I am trying to figure out how they did the Ethernet lib in Fortran, in order to translate it to our MCL format.

Post Reply

Return to “mikroC Beta testing”