Well, __FUNCTION__ did the job, though from what I browsed it would seem one should be the macro to the other...
On Thursday, August 4, 2011 1:04:57 AM UTC-5, Simon Chan wrote: > > Hi all, > > Now I add debug info for my overlay hal module. > > #define LOG_FUNC_NAME LOGD("%s", __func__) > > the output is as seen below, > > D/Overlay ( 966): int overlay_setParameter(overlay_control_device_t*, > overlay_t*, int, int) > D/Overlay ( 966): int overlay_commit(overlay_control_device_t*, > overlay_t*) > > It's certainly not the thing I expect. > > I don't know whether it's the intended behavior or I have made > something wrong? Thanks! > > > Regards, > Simon > > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting