Igor is on vacation right now. I mean real vacation - no computer :)
Stef
On May 2, 2012, at 6:40 PM, Luc Fabresse wrote:
> Hi Igor and other NB Gurus,
>
> A group of students is trying to use NativeBoost to wrap the OpenCV C image
> library.
> The problem we are facing is that the function cvSize return a struct.
>
> typedef struct { int width; int height; } CvSize;
> CV_INLINE CvSize cvSize( int width, int height );
>
> But the NBExternalStructure seems to not support that if I understood
> correctly.
>
> NBExternalStructure>>coerceReturn: gen
> " ... should we support handling return of external structures?
> "
> self error: 'returning pointer to structure?'
>
> Did I miss something?
> Any idea or workaround?
>
> Thanks,
>
> Luc