Class member variables can be registered so that they can be directly accessed by the script without the need for any method calls.
offsetof() is a macro declared in stddef.h header file.