pos = (char *)malloc(len*sizeof(char));
z = jacu_buscar_z(datos, len, &size);
+ (*_z) = jacu_buscar_z(datos, len, &size);
+
for(i=0; i<len; i++){
pos[i] = get_pos(z, size, datos[i]);
printf("pos de %c = %d\n", datos[i], pos[i]);
pop_front(z, pos[i]);
}
- (*_z) = z;
+ /*(*_z) = z;*/
(*z_len) = size;
return pos;
}