Summary

Macro

Returns NS_ERROR_INVALID_POINTER if the macro argument evaluates to false and shows a warning (NS_WARNING) in this case.

Refer to xpcom/glue/nsDebug.h for details.

Syntax

NS_ENSURE_ARG_POINTER(aPointer);