From professional translators, enterprises, web pages and freely available translation repositories.
ptr
target: fqdn of location in dns namespace to which the record is aliased.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
video ptr, id system
证件系统ptr录象机
Last Update: 2016-12-04
Usage Frequency: 1
Quality:
/ / somewhere in your extension, define the variable for your registered resources. / / if you wondered what 'le' stands for: it simply means'list entry'. static int le_myresource; / / it's nice to define your resource name somewhere #define le_myresource_name "my type of resource "[...] / / now actually define our resource destruction handler void my_destruction_handler(zend_rsrc_list_entry *rsrc tsrmls_dc) {my_resource *my_rsrc = (my_resource *) rsrc - ptr; do_whatever_needs_to_be_done_with_the_resource(my_rsrc);} [...] php_minit_function(my_extension) {/ / note that'module_number 'is already provided through the / / php_minit_function() function definition. le_myresource = zend_register_resource_destructors_ex(my_destruction_handler, null, le_myresource_name, module_number); / / you can register additional resources, initialize / / your global vars, constants, whatever.}
// somewhere in your extension, define the variable for your registered resources. // if you wondered what 'le' stands for: it simply means 'list entry'. static int le_myresource; // it's nice to define your resource name somewhere #define le_myresource_name "my type of resource" [...] // now actually define our resource destruction handler void my_destruction_handler(zend_rsrc_list_entry *rsrc tsrmls_dc) {my_resource *my_rsrc = (my_resource *) rsrc- ptr; do_whatever_needs_to_be_done_with_the_resource(my_rsrc);} [...] php_minit_function(my_extension) {// note that 'module_number' is already provided through the // php_minit_function() function definition. le_myresource = zend_register_resource_destructors_ex(my_destruction_handler, null, le_myresource_name, module_number); // you can register additional resources, initialize // your global vars, constants, whatever.}
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting