- if (p == NULL || !lua_getmetatable(L, ud) || !lua_rawequal(L, -1, -2))
- XBT_ERROR("Error: Userdata is NULL, couldn't find metatable or top of stack does not equal element below it.");
+ if (p == nullptr || not lua_getmetatable(L, ud) || not lua_rawequal(L, -1, -2))
+ XBT_ERROR("Error: Userdata is nullptr, couldn't find metatable or top of stack does not equal element below it.");