Modified some apparent errors in definition of lua pointer.