Re: Any predefined macro for current function?
Re: Any predefined macro for current function?
- Subject: Re: Any predefined macro for current function?
- From: Tommy Nordgren <email@hidden>
- Date: Wed, 10 May 2006 22:09:26 +0200
On 10 maj 2006, at 21.58, Tommy Nordgren wrote:
Are there any predefined macro in gcc 4.0 that expands to the name
of the function
currently compiled?
If available, this would help in writing debug logging macros.
I was able to find this out for myself, by browsing assert.h.
The macro is called __func__
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden