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.
xpcom/glue/nsDebug.h
NS_ENSURE_ARG_POINTER(aPointer);