feat(rust): first green Rust crates — oakcore-rs, oakundo, oakcommon, oaktimeline, oakaudio
- oakcore-rs: Rational/TimeRange/TimeRangeList/PixelFormat/SampleFormat mirroring oakcore C++ semantics (91.6% coverage) - oakundo: UndoCommand/UndoStack with vtable commands (99.6%) - oakcommon: config/XML/VideoParams/logging etc. (89.8%, 516 tests); XML via quick-xml, logging via the log facade - oaktimeline: markers/workarea/edit commands (95.4%) - oakaudio: processor/manager/sync/waveform/levelmeter (88.4%) - unified -MMCCCC error codes across all C ABI headers (registry in include/common/error.h; pass-through rule) - olive::Variant moved node -> common (cross-module value type) - oakcommon_videoparams_set_is_3d added to the C ABI - M11 (oakplugin Rust rewrite) plan + notes.md freeze line for the inter-module C ABI wiring
This commit is contained in:
@@ -40,10 +40,10 @@
|
||||
#define OAKNODE_ABI_VERSION 1
|
||||
|
||||
#define OAKNODE_OK 0 /**< Success. */
|
||||
#define OAKNODE_E_INVALID (-1) /**< NULL handle or invalid argument. */
|
||||
#define OAKNODE_E_STATE (-2) /**< Call not valid in the current state. */
|
||||
#define OAKNODE_E_FAILED (-3) /**< The underlying operation failed. */
|
||||
#define OAKNODE_E_NOT_FOUND (-4) /**< Index out of range / entry not found. */
|
||||
#define OAKNODE_E_NOMEM (-5) /**< Allocation failed. */
|
||||
#define OAKNODE_E_INVALID (-30001) /**< NULL handle or invalid argument. */
|
||||
#define OAKNODE_E_STATE (-30002) /**< Call not valid in the current state. */
|
||||
#define OAKNODE_E_FAILED (-30003) /**< The underlying operation failed. */
|
||||
#define OAKNODE_E_NOT_FOUND (-30004) /**< Index out of range / entry not found. */
|
||||
#define OAKNODE_E_NOMEM (-30005) /**< Allocation failed. */
|
||||
|
||||
#endif //OAK_EDITOR_NODE_ERROR_H
|
||||
|
||||
Reference in New Issue
Block a user