runtime assert null pointer by comparison
use VSMC_NULLPTR for all null pointer