X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_apfd.h;fp=php_apfd.h;h=e248688956e3aea1130e119ea93df1bc5a944bef;hb=1e92ec497c976bab5ef610663f84600d735101c6;hp=0000000000000000000000000000000000000000;hpb=3cb72563cd26615a507b83265be7967c5f426faf;p=m6w6%2Fext-apfd diff --git a/php_apfd.h b/php_apfd.h new file mode 100644 index 0000000..e248688 --- /dev/null +++ b/php_apfd.h @@ -0,0 +1,43 @@ +/* + +--------------------------------------------------------------------+ + | PECL :: apfd | + +--------------------------------------------------------------------+ + | Redistribution and use in source and binary forms, with or without | + | modification, are permitted provided that the conditions mentioned | + | in the accompanying LICENSE file are met. | + +--------------------------------------------------------------------+ + | Copyright (c) 2015, Michael Wallner | + +--------------------------------------------------------------------+ +*/ + +#ifndef PHP_APFD_H +#define PHP_APFD_H + +extern zend_module_entry apfd_module_entry; +#define phpext_apfd_ptr &apfd_module_entry + +#define PHP_APFD_VERSION "1.0.0" + +#ifdef PHP_WIN32 +# define PHP_APFD_API __declspec(dllexport) +#elif defined(__GNUC__) && __GNUC__ >= 4 +# define PHP_APFD_API extern __attribute__ ((visibility("default"))) +#else +# define PHP_APFD_API extern +#endif + +#ifdef ZTS +# include "TSRM.h" +#endif + +#endif /* PHP_APFD_H */ + + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */