Skip to content

Commit

Permalink
Optimize code, fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Aug 21, 2024
1 parent 8fb867d commit bc40d4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions php_phpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ extern zend_module_entry phpy_module_entry;

# define PHP_PHPY_VERSION "1.0.6"

BEGIN_EXTERN_C()
extern const char *phpy_get_python_version(void);
END_EXTERN_C()

# if defined(ZTS) && defined(COMPILE_DL_PHPY)
ZEND_TSRMLS_CACHE_EXTERN()
# endif
Expand Down
1 change: 0 additions & 1 deletion phpy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ PHP_RINIT_FUNCTION(phpy)
extern PHP_MINIT_FUNCTION(phpy);
extern PHP_MSHUTDOWN_FUNCTION(phpy);
extern PHP_RSHUTDOWN_FUNCTION(phpy);
extern const char *phpy_get_python_version(void);

/* {{{ PHP_MINFO_FUNCTION */
PHP_MINFO_FUNCTION(phpy)
Expand Down

0 comments on commit bc40d4d

Please sign in to comment.