1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

Test module macros

This commit is contained in:
Nick Terrell
2017-04-04 12:56:44 -07:00
parent b1b582b9fa
commit b06507221e
2 changed files with 85 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#ifndef LINUX_MODULE_H_
#define LINUX_MODULE_H_
#define EXPORT_SYMBOL(symbol) \
void* __##symbol = symbol
#define MODULE_LICENSE(license) static char const *const LICENSE = license
#define MODULE_DESCRIPTION(description) \
static char const *const DESCRIPTION = description
#endif // LINUX_MODULE_H_