message: add serialize define first
diff: @@ -428,6 +428,12 @@ static const zend_function_entry swoole_async_methods[] =
  PHP_FE_END
  };
  +static const zend_function_entry swoole_serialize_methods[] =
  +{
  +
  + PHP_FE_END
  +};
  +
  #if PHP_MEMORY_DEBUG
  php_vmstat_t php_vmstat;
  #endif
  @@ -447,6 +453,9 @@ static zend_class_entry *swoole_event_class_entry_ptr;
  static zend_class_entry swoole_async_ce;
  static zend_class_entry *swoole_async_class_entry_ptr;
  +static zend_class_entry swoole_serialize_ce;
  +static zend_class_entry *swoole_serialize_class_entry_ptr;
  +
  zend_class_entry swoole_exception_ce;
  zend_class_entry *swoole_exception_class_entry_ptr;
  @@ -742,6 +751,10 @@ PHP_MINIT_FUNCTION(swoole)
  swoole_async_class_entry_ptr = zend_register_internal_class(&swoole_async_ce TSRMLS_CC);
  SWOOLE_CLASS_ALIAS(swoole_async, "Swoole\\Async");
  + SWOOLE_INIT_CLASS_ENTRY(swoole_serialize_ce, "swoole_serialize", "Swoole\\Serialize", swoole_serialize_methods);
  + swoole_serialize_class_entry_ptr = zend_register_internal_class(&swoole_serialize_ce TSRMLS_CC);
  + SWOOLE_CLASS_ALIAS(swoole_async, "Swoole\\Serialize");
  +
  #ifdef HAVE_PCRE
  SWOOLE_INIT_CLASS_ENTRY(swoole_connection_iterator_ce, "swoole_connection_iterator", "Swoole\\Connection\\Iterator", swoole_connection_iterator_methods);
  swoole_connection_iterator_class_entry_ptr = zend_register_internal_class(&swoole_connection_iterator_ce TSRMLS_CC);
  