Skip to content

Methods and other improvments

Compare
Choose a tag to compare
@Loara Loara released this 03 Aug 09:50
· 36 commits to main since this release

With the 2.0 version some backward incompatible changes are added to this new version, in particular the internal organization of objects is adjusted. So objects created with a preceding version of this packages won't work very well with functions and other objects created with version 2.0 of lt3rawobjects. If after the upgrade you find undocumented issues please open a new issue or tell me more in a new discussion.

In this new version you can define also methods inside your objects. Methods are simply functions bounded to container objects like member variables. Currently methods can be only near constants or remote constants, but in future releases mutable methods may be introduced.

For this reason names of functions working with constant members are changed in order to better distinguish constant members and constant methods, For example inside library functions names keywords nconst and rconst are replaced respectively with ncmember and rcmember. Other modifications can be found inside the documentation page.

Other functionalities:

  • Functions \object_test_proxy to test if an object is generated from the specified proxy;
  • Constant reorganization;
  • Documentation improvement.