Advertisement
Guest User

cphppart.cc start

a guest
Jul 13th, 2010
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.28 KB | None | 0 0
  1. #include "cphppart.h"
  2.  
  3. static function_entry chemlib_global_functions[] =
  4. {
  5.         PHP_FE(get_group_of_caml, NULL)
  6.         {NULL, NULL, NULL}
  7. };
  8.  
  9. zend_module_entry chemlib_module_entry =
  10. {
  11. #if ZEND_MODULE_API_NO >= 20010901
  12.         STANDARD_MODULE_HEADER,
  13. #endif /* ZEND_MODULE_API_NO >= 20010901 */
  14.         PHP_CHEMLIB_EXTNAME,
  15.         chemlib_global_functions, /* Functions */
  16.         PHP_MINIT(chemlib), /* MINIT */
  17.         PHP_MSHUTDOWN(chemlib), /* MSHUTDOWN */
  18.         NULL, /* RINIT */
  19.         NULL, /* RSHUTDOWN */
  20.         PHP_MINFO(chemlib), /* MINFO */
  21. #if ZEND_MODULE_API_NO >= 20010901
  22.         PHP_CHEMLIB_VERSION,
  23. #endif /* ZEND_MODULE_API_NO >= 20010901 */
  24.         STANDARD_MODULE_PROPERTIES
  25. };
  26.  
  27. #ifdef COMPILE_DL_CHEMLIB
  28. #ifdef __cplusplus
  29. extern "C"
  30. {
  31. #endif
  32.         ZEND_GET_MODULE(chemlib)
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36. #endif /* COMPILE_DL_CHEMLIB */
  37.  
  38. zend_class_entry *chemlib_class_entry;
  39.        
  40. static function_entry chemlib_class_functions[] =
  41. {      
  42.         PHP_ME(PHP_CHEMLIB_CLASS_NAME, __construct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR)
  43.         PHP_ME(PHP_CHEMLIB_CLASS_NAME, __destruct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR)
  44.         PHP_ME(PHP_CHEMLIB_CLASS_NAME, __toString, NULL, ZEND_ACC_PUBLIC)
  45.         {NULL, NULL, NULL}
  46. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement