>>>>> "T" == Takaaki Tateishi <ttate / ttsky.net> writes:

T> If so, I'm sure that the data struct can have [proc, proto], but 'func' of
T> the struct sym_data is called by a library API. For example, I must pass
T> 'func' of the struct sym_data to qsort(). I can't check if the sym_data

 When you pass `func' to qsort(), you access fatally to the struct sym_data 
 and you know at this moment if it has [proc, proto], no ?

T> has [proc, proto] or not when the function is called from qsort().

 use a thread local variable

Guy Decoux