how to use indirect funtions?

Ondřej Bílka neleai@seznam.cz
Thu Jul 5 17:41:00 GMT 2012


Hello

I want to do dispatching of my string functions in generic way.
Currently for strstr I have files strstr_sse2.c, strstr_ssse3,
strstr_sse4_1.c, strstr_sse4_2.c, each consisting only of three lines


#define USE_FOO
#define STRSTR __strstr_FOO
#include "strstr.h"

As I want do same thing for all string functions. This would generate
lot of files. Is there better way how to do this?


-- 

operation failed because: there is no message for this error (#1014)



More information about the Libc-help mailing list