I am trying to write two functions, one calls the other and passes in an argument:
int RegisterImage( const char * streamID, IMGStream & c ) {
...
}
int OpenImage( const char * streamid, int dsize ) {
ImageStream * im;
int idx = -1;
if ( GetImgRegIdx(streamid, dsize, im) )
idx = RegisterImage (streamid, im);
return idx;
}
The calling of "RegisterImage()" fails. It complains about: "in passing argument 2 of ‘int Core::RegisterImage(const char*, IMGStream&)’"
Can anybody help me understand why it's complaining, and how to fix it? Thanks so much
IMGStreamandImageStream?