Xobjects version 0.1.21
Changes
Improved and reorganised management of sources and dependencies:
- Replaced
extra_sources
and_extra_c_source
with_extra_c_sources
both inxobjects.Struct
and inxobjects.HybridClass
. - Kernel declarations can be made through the
_kernels
dictionary when creating subclasses ofxobjects.Struct
and inxobjects.HybridClass
. The kernels can be compiled by thecompile_kernels(...)
method. - Dependencies on additional xobjects types can be provided through the
_depends_on
list when creating subclasses ofxobjects.Struct
and inxobjects.HybridClass
. These are taken into account when compiling the kernels. Context.add_kernels
can apply a user-provided list of functions to the source code before code specialization.- Renamed
HybridClass.XoStruct
toHybridClass._XoStruct
. - Renamed
HybridClass._move_to
toHybridClass.move
.