Skip to content

Make wrappers guess type of NULL to be nullptr_t.

David Gobbi requested to merge dgobbi/vtk:wrap-null-as-nullptr_t into master

When the wrappers encounter NULL in a header file, specifically in the case of "#define something NULL", it now treated as a value of type nullptr_t, similar to nullptr itself. This ensures that NULL will not be wrapped as int, even if it is defined to be 0.

Merge request reports