2011/12/4 Yasuo Ohgaki <yohg...@ohgaki.net>: > Hi Stats, > > 2011/12/4 Stas Malyshev <smalys...@sugarcrm.com>: >>> If we care about binary API compatibility, how about make >>> >>> PS_MOD_SID2/PS_MOD_FUNCS_SID2 >>> >>> macros? Then we can forget about ABI. >> >> >> I'm sorry, I don't understand how any macros would help anything. Adding >> stuff to the structure would break binary compatibility, how the macros >> would help it? > > Since it is just adding new separate structure to session module, but > PHP itself checks API version number. So users cannot use the same > binary module anyway. I should have said API, not ABI. > > Now it should compile with msession which uses PHP_MOD_SID/PS_MOD_FUNCS_SID. >
Oops, I was thinking to add new structure, but I forget to do. Anyway, if we care about ABI, we should add new structure or should have other solutions. -- Yasuo Ohgaki -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php