% swig -php5 -make -withc "example.c" example.i
Edit makefile to:
* Change `php -r '{....}'` to $(shell php -r '....}')
* Change $(PROG) to $(MODULE)
* Add -DZTS, -pthread, etc.
(See the other php bug)
Copy example.so to the PHP5 module directory.
$ php -r 'dl("example.so"); echo gcd(27, 9) . "\n";'
9
/phpdev/php-5.2.0/Zend/zend_hash.c(679) : ht=0x88163e0 is already
destroyed
kruland
php
None
Public
|
Date: 2007-01-12 19:30
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2007-01-12 19:30 | tkurosaka |
| resolution_id | None | 2007-01-12 19:30 | tkurosaka |
| close_date | - | 2007-01-12 19:30 | tkurosaka |