This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
how to use indirect funtions?
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: libc-help at sourceware dot org
- Date: Fri, 6 Jul 2012 13:39:40 +0200
- Subject: how to use indirect funtions?
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)