On Sat, 2013-09-07 at 17:46 +0200, Nikita Popov wrote:
> The code has an "extern zend_class_entry *php_json_serializable_ce;" right
> above that line. Shouldn't that be enough?

that only affects code in the same linker run (executable binary or .so)
as weak the linker to hide symbols. For stuff that should work in other
extensions one has to mark them as ZEND_API in the engine or PHPAPI in
core stuff, or a custom EXTENSIONNAME_API (see different
ext/foo/php_foo.h headers)

johannes


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to