Skip to content

PyClass Feature Complete for v0.1

Compare
Choose a tag to compare
@potatomashed potatomashed released this 14 Dec 04:57
· 2 commits to release/0.0 since this release

V0.1 feature completeness on v0.0.12 for @mlcd.py_class, including:

  • Support for mlcd.field(...)
  • Default arguments in __init__
  • Support __post_init__
  • Adding py_class methods to vtable
  • Automatically set __slots__ = () for all @mlcd.py_class and @mlcd.c_class
  • Export a @mlcd.py_class to C++ via mlcd.prototype_cxx(PyCls)
  • Refactor C++ backend that explicitly introduces VTableHandle as a basis in C API