Advertisement
Guest User

cphppart.h

a guest
Jul 13th, 2010
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.68 KB | None | 0 0
  1. #define PHP_CHEMLIB_VERSION (char*)"1.0"
  2. #define PHP_CHEMLIB_EXTNAME (char*)"chemlib"
  3.  
  4. #ifdef HAVE_CONFIG_H
  5. #include "config.h"
  6. #endif /* HAVE_CONFIG_H */
  7.  
  8. #define PHP_CHEMLIB_CLASS_NAME "Chemlib"
  9. #include <vector>
  10.  
  11. #ifdef __cplusplus
  12. extern "C"
  13. {
  14. #endif
  15. #include "php.h"
  16. #include "ext/standard/info.h"
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20.  
  21. #include <cpart.h>
  22. PHP_MINIT_FUNCTION(chemlib);
  23. PHP_MSHUTDOWN_FUNCTION(chemlib);
  24. PHP_MINFO_FUNCTION(chemlib);
  25.  
  26. PHP_METHOD(PHP_CHEMLIB_CLASS_NAME, __construct);
  27. PHP_METHOD(PHP_CHEMLIB_CLASS_NAME, __destruct);
  28. PHP_METHOD(PHP_CHEMLIB_CLASS_NAME, __toString);
  29. PHP_FUNCTION(get_group_of_caml);
  30.  
  31. extern zend_module_entry chemlib_module_entry;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement