I have this wrapper: chooseVisual: display screen: aScreenNumber attributes: attribList <primitive: #primitiveNativeCall module: #NativeBoostPlugin>
^ self call: #( NBXLibVisualInfo* glXChooseVisual ( NBXLibDisplay display , int aScreenNumber, int *attribList ) ) but when generating native code it ends in: ExternalStructureType>>coerceReturn: gen " ... should we support handling return of external structures? " self error: 'returning pointer to structure?' Changing "NBXLibVisualInfo*" to "NBXLibVisualInfo" didn't help. Is there any workaround?? -- Lic. Javier Pimás Ciudad de Buenos Aires
