mirror of
https://github.com/pcsc-for-php/pcsc.git
synced 2026-08-08 21:09:26 +02:00
Fix compiler warnings, use zval resource instead of long for handles
Also bump version because the new return values have a different type now. git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@332839 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
bd84657c51
commit
3bbd4620a1
4 changed files with 195 additions and 56 deletions
|
|
@ -4,7 +4,7 @@
|
|||
extern zend_module_entry pcsc_module_entry;
|
||||
#define phpext_pcsc_ptr &pcsc_module_entry
|
||||
|
||||
#define PHP_PCSC_VERSION "0.0.1"
|
||||
#define PHP_PCSC_VERSION "0.3"
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
#define PHP_PCSC_API __declspec(dllexport)
|
||||
|
|
@ -31,4 +31,9 @@ PHP_FUNCTION(scard_status);
|
|||
PHP_FUNCTION(scard_transmit);
|
||||
//PHP_FUNCTION(scard_cancel);
|
||||
|
||||
#define PHP_PCSC_CTX_RES_NAME "PC/SC Context"
|
||||
#define PHP_PCSC_CONN_RES_NAME "PC/SC Connection"
|
||||
|
||||
static char* php_pcsc_error_to_string(LONG dwRC);
|
||||
|
||||
#endif /* PHP_PCSC_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue