logo       

Is there a $xxx to specify the current function name ?: msg#00085

programming.swig

Subject: Is there a $xxx to specify the current function name ?

I would like to use a $xxx to access the function/method name that this type
map is used in.

IF this were called $name I could use this as follows:


%typemap(in) const uString & {

printf ("Currently in %s ", uString ($name) );

}

This would be used for diagnostic purposes primarily.
I could not find such a feature. Does this exist ?


Benjamin
_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise