Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add code comments and minor fixups in lua_kernel_base
adds code comments for a number of method declarations in header, and in the implementation file, prefixes many method calls with `this->`. This convention disambiguates whether the call is a method of the class or a function at global scope. On some projects like gcc, it is part of the coding standard to do this to avoid subtle bugs -- I have come to believe that it makes your code more easily readable, even if it is a little more typing.
- Loading branch information
Showing
2 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters