Changeset 8934 for trunk/indexers
- Timestamp:
- 2005-02-01T12:07:44+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mgpp/jni/MGPPWrapperImpl.cpp
r4237 r8934 3 3 #include <strstream> 4 4 #else 5 #include <iostream.h> 6 #include <strstream.h> 5 #include <sstream> 7 6 #endif 8 7 … … 477 476 MGPPWrapperData * data = (MGPPWrapperData *)j_env->GetIntField(j_obj, FID_mgpp_data); 478 477 479 // print the data to a n output stringstream, then convert to char*, then to478 // print the data to a stringstream, then convert to char*, then to 480 479 //jstring 481 480 482 ostrstream output;481 stringstream output; 483 482 output << "Query params:"<<endl 484 483 // need to change this to use platform specific separator for niceness … … 492 491 <<"max docs\t"<<data->queryInfo->maxDocs<<endl<<ends; 493 492 494 c har *result = output.str();493 const char *result = output.str().c_str(); 495 494 jstring j_result = j_env->NewStringUTF(result); 496 495 delete result;
Note:
See TracChangeset
for help on using the changeset viewer.