Lines Matching refs:version
14 * published by the Free Software Foundation; either version 2.1 of
15 * the License, or (at your option) any later version.
62 #define __SND_DLSYM_VERSION(name, version) _ ## name ## version
65 * \brief Appends the build version to the name of a versioned dynamic symbol.
67 #define SND_DLSYM_BUILD_VERSION(name, version) char __SND_DLSYM_VERSION(name, version);
80 #define __SND_DLSYM_VERSION(prefix, name, version) _ ## prefix ## name ## version
83 * \brief Appends the build version to the name of a versioned dynamic symbol.
85 #define SND_DLSYM_BUILD_VERSION(name, version) \
86 static struct snd_dlsym_link __SND_DLSYM_VERSION(snd_dlsym_, name, version); \
87 void __SND_DLSYM_VERSION(snd_dlsym_constructor_, name, version) (void) __attribute__ ((constructor)); \
88 void __SND_DLSYM_VERSION(snd_dlsym_constructor_, name, version) (void) { \
89 __SND_DLSYM_VERSION(snd_dlsym_, name, version).next = snd_dlsym_start; \
90 __SND_DLSYM_VERSION(snd_dlsym_, name, version).dlsym_name = __STRING(name); \
91 __SND_DLSYM_VERSION(snd_dlsym_, name, version).dlsym_ptr = (void *)&name; \
92 snd_dlsym_start = &__SND_DLSYM_VERSION(snd_dlsym_, name, version); \
97 /** \brief Returns the version of a dynamic symbol as a string. */
98 #define SND_DLSYM_VERSION(version) __STRING(version)
102 void *snd_dlsym(void *handle, const char *name, const char *version);