Hi Igor,

I have a question about NativeBoost and the usage of NULL.�
Many C functions that have output arguments passing NULL means that the argument is not needed, however I am under the impression that this is not supported in NativeBoost yet.

For example I have this function signature, which returns the `disable` option if called with not null argument.
getDiagnosticOption: diag Disable: disable�
<primitive: #primitiveNativeCall module: #NativeBoostPlugin error: errorCode>
^self call: #(CXString clang_getDiagnosticOption(CXDiagnostic diag, CXString * disable)) options: #( �)

For now in NB it seems that I can only call it as follows:
bogus := CXStringStruct new. � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � <-�
cxstr := self clang getDiagnosticOption: handle Disable: bogus.
bogus disposeString. � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �<- � � � � � � � � � �

The idea is that I want to get rid of the bogus, on one hand because it pollutes the method, and in the other hand I do not need to do the allocation if I won't use the result

so the call will become
cxstr := self clang getDiagnosticOption: handle Disable: nil.

how can we do this?

Cheers

--
Dr. Ciprian TEODOROV
Ing
nieur�D�veloppement�CAO

t�l : 06 08 54 73 48

mail :�ciprian.teodorov@gmail.com
www.teodorov.ro