Permalink
Browse files

fix TSRMLS things (part 2)

  • Loading branch information...
chobie committed Apr 29, 2012
1 parent b04717a commit 5685d619ae5e1356f9f47cd09dda622f06dba135
Showing with 44 additions and 44 deletions.
  1. +44 −44 php_mruby.h
View
@@ -1,44 +1,44 @@
-#ifndef PHP_MRUBY_H
-
-#define PHP_MRUBY_H
-
-#define PHP_MRUBY_EXTNAME "mruby"
-#define PHP_MRUBY_EXTVER "0.1"
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "php.h"
-#include "mruby.h"
-#include "mruby/proc.h"
-#include "mruby/src/compile.h"
-#include "mruby/dump.h"
-
-#include "ext/spl/spl_exceptions.h"
-#include "zend_interfaces.h"
-
-/* Define the entry point symbol
- * Zend will use when loading this module
- */
-extern zend_module_entry mruby_module_entry;
-#define phpext_mruby_ptr &mruby_module_entry;
-
-extern zend_class_entry *mruby_class_entry;
-extern zend_class_entry *mruby_object_class_entry;
-
-typedef struct {
- zend_object zo;
- mrb_state *mrb;
-} php_mruby_t;
-
-typedef struct {
- zend_object zo;
- zend_object_value owner;
- mrb_value value;
-} php_mruby_object_t;
-
-zval *php_mruby_convert_mrb_value(zend_object_value owner, mrb_value argv TSRMLS_DC);
-mrb_value php_mruby_to_mrb_value(mrb_state *mrb, zval *src);
-
-#endif /* PHP_MRUBY_H */
+#ifndef PHP_MRUBY_H
+
+#define PHP_MRUBY_H
+
+#define PHP_MRUBY_EXTNAME "mruby"
+#define PHP_MRUBY_EXTVER "0.1"
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "php.h"
+#include "mruby.h"
+#include "mruby/proc.h"
+#include "mruby/src/compile.h"
+#include "mruby/dump.h"
+
+#include "ext/spl/spl_exceptions.h"
+#include "zend_interfaces.h"
+
+/* Define the entry point symbol
+ * Zend will use when loading this module
+ */
+extern zend_module_entry mruby_module_entry;
+#define phpext_mruby_ptr &mruby_module_entry;
+
+extern zend_class_entry *mruby_class_entry;
+extern zend_class_entry *mruby_object_class_entry;
+
+typedef struct {
+ zend_object zo;
+ mrb_state *mrb;
+} php_mruby_t;
+
+typedef struct {
+ zend_object zo;
+ zend_object_value owner;
+ mrb_value value;
+} php_mruby_object_t;
+
+zval *php_mruby_convert_mrb_value(zend_object_value owner, mrb_value argv TSRMLS_DC);
+mrb_value php_mruby_to_mrb_value(mrb_state *mrb, zval *src TSRMLS_DC);
+
+#endif /* PHP_MRUBY_H */

0 comments on commit 5685d61

Please sign in to comment.