Commit a297bf65 authored by Samuel Debionne's avatar Samuel Debionne

Fix the return type of the talk function to make it compatible with python 2...

Fix the return type of the talk function to make it compatible with python 2 and 3 (see std::string MappedType)
parent ba6cd2f1
Pipeline #5391 passed with stages
in 8 minutes and 24 seconds
......@@ -707,7 +707,7 @@ namespace lima
void getCameraName(std::string& name);
const char *talk(const std::string& cmd);
std::string talk(const std::string& cmd);
const char *_talk(const char *cmd, char *output, int lg);
......
......@@ -15,7 +15,7 @@ namespace Pco
void startAcq();
void reset(int);
const char *talk(const std::string& cmd);
std::string talk(const std::string& cmd);
int getNbAcquiredFrames();
......
......@@ -268,7 +268,7 @@ void stcPcoData::traceMsg(char *s){
}
static char buff[BUFF_INFO_SIZE +16];
const char *Camera::talk(const std::string& cmd){
std::string Camera::talk(const std::string& cmd){
DEB_MEMBER_FUNCT();
static char buff[BUFF_INFO_SIZE +16];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment