按规划持续工作
结论:已纳入 LinuxCNC 五轴 switchkins M428/M429/M430 来源资产,补齐 remap source probe 与 native 验证闭环,未新增自写 CNC 语义。
This commit is contained in:
@@ -14,6 +14,7 @@ typedef _object PyObject;
|
||||
inline int PyCallable_Check(PyObject *) { return 0; }
|
||||
inline int PyErr_ExceptionMatches(PyObject *) { return 0; }
|
||||
inline void PyErr_Clear() {}
|
||||
inline void PyErr_Print() {}
|
||||
inline int PyUnicode_Check(PyObject *) { return 0; }
|
||||
inline int PyLong_Check(PyObject *) { return 0; }
|
||||
inline int PyFloat_Check(PyObject *) { return 0; }
|
||||
@@ -36,6 +37,9 @@ public:
|
||||
template <typename T>
|
||||
explicit object(const T &) {}
|
||||
|
||||
template <typename T>
|
||||
object &operator=(const T &) { return *this; }
|
||||
|
||||
object attr(const char *) const { return object(); }
|
||||
object operator[](const char *) const { return object(); }
|
||||
object operator[](const std::string &) const { return object(); }
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cwctype>
|
||||
|
||||
#ifndef towlower
|
||||
#define towlower std::towlower
|
||||
#endif
|
||||
Reference in New Issue
Block a user