Added null pointer check.
Merge pull request #59 from redboltz/add_null_check

Added null pointer check.
Merge branch 'master' into cxx_separate
Added null pointer check for C++ separated code.
Added C++ separate version and C++11 description.