Changeset 47 for trunk


Ignore:
Timestamp:
Dec 2, 2010, 10:21:26 AM (14 years ago)
Author:
david
Message:

-delete debug information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/service_internal_perl.c

    r22 r47  
    2828static PerlInterpreter *my_perl;
    2929
    30 EXTERN_C
    3130
    3231void xs_init(pTHX)
     
    4544        map * tmp_m = m;
    4645        do {
    47                 printf("map name %s  value %s \n",m->name,m->value);
     46                //printf("map name %s  value %s \n",m->name,m->value);
    4847
    4948                if ( NULL == hv_store( tmp, tmp_m->name, strlen(tmp_m->name), sv_2mortal(newSVpv(tmp_m->value, strlen(tmp_m->value))), 0) ) {
     
    5958        HV * tmp = *hash_maps;
    6059        if (m != NULL) {
    61                 printf("maps name %s \n",m->name);
     60                //printf("maps name %s \n",m->name);
    6261                HV* hash_m = (HV *)sv_2mortal((SV *)newHV());
    6362                if (map_to_hash(m->content,&hash_m) != 0){
     
    8382        HE * he = hv_iternext(hh);
    8483        while (he != NULL){
    85                 printf("key : %s  value : %s \n",HeKEY(he),(char *)SvRV(HeVAL(he)));
     84                //fprintf(stderr,"key : %s  value : %s \n",HeKEY(he),(char *)SvRV(HeVAL(he)));
    8685                tmp->name = HeKEY(he);
    8786                tmp->value = (char *)SvRV(HeVAL(he));
     
    111110        map *mm;
    112111        while (he != NULL) {
    113                 printf("key ===> %s \n",HeKEY(he));
     112                //fprintf(stderr,"key ===> %s \n",HeKEY(he));
    114113                tmp->name = HeKEY(he);
    115114                hash_to_map((HV *) SvRV(HeVAL(he)),&mm);
     
    162161        res = POPi;
    163162        hash_to_maps(h_real_outputs,real_outputs);
     163        //dumpMaps(*real_outputs);
    164164        PUTBACK;
    165165        FREETMPS;
    166166        LEAVE;
    167         return res;
    168 }
    169 
    170        
    171 
    172 
    173 
    174 
    175 
    176 
    177 
    178 
    179 
    180 
    181 
    182 
    183 
    184 
    185 
    186 
    187 
    188 
    189 
    190 
    191 
    192 
    193 
    194 
    195 
    196 
    197 
    198 
    199 
    200 
    201 
     167        return SERVICE_SUCCEEDED;
     168}
     169
     170       
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
     191
     192
     193
     194
     195
     196
     197
     198
     199
     200
     201
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png