Changeset 1785

Show
Ignore:
Timestamp:
2006-01-11 19:06:00 (3 years ago)
Author:
ctford
Message:

Use TSRMLS_CC #define instead of directly referring to tsrm_ls.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • phpannodex/trunk/src/phpannodex.c

    r1763 r1785  
    7070PHP_MINIT_FUNCTION(phpanx_init) { 
    7171 
    72         init_constants( module_number, tsrm_ls ); // The args are declared  
     72        init_constants( module_number TSRMLS_CC ); // The args are declared  
    7373                                                  // inside PHP_MINIT_FUNCTION() 
    7474        register_anx_resource( (int) module_number ); 
  • phpannodex/trunk/src/phpanx_types.c

    r1763 r1785  
    158158//      add_property_bool( obj, "big", 33 ); 
    159159//      head_to_object( return_value, head ); 
    160         object = head_to_object( &head, tsrm_ls ); 
     160        object = head_to_object( &head TSRMLS_CC ); 
    161161//      add_property_stringl( obj, "head_id", "fire",5, DUPLICATE ); 
    162162        //*return_value = *obj;