Files
cnc_wams/wasm-port/vendor/linuxcnc/src/emc/linuxcnc.h
wangdequan 5025b0c1a1 继续把 interp_execute.cc、interp_queue.cc、interp_find.cc 等 LinuxCNC 源文件纳入直接编译/链接路径,逐步删除临时 convert_g() wrapper 行为
结论:已将核心 LinuxCNC interpreter 源接入 standalone native 编译链接路径,移除 minimal runtime 中的手写 convert_g 行为,并通过 native probe 验证。
2026-06-06 23:49:01 +08:00

28 lines
771 B
C

/********************************************************************
* Description: linuxcnc.h
* Common defines used in many emc2 source files.
*
*
* Author: Petter Reinholdtsen
* License: LGPL Version 2
* System: Any
*
* Copyright (c) 2021 All rights reserved.
********************************************************************/
#ifndef __LINUXCNC_LINUXCNC_H
#define __LINUXCNC_LINUXCNC_H
/* LINELEN is used throughout for buffer sizes, length of file name strings,
etc. Let's just have one instead of a multitude of defines all the same. */
#define LINELEN 255
/* Used in a number of places for sprintf() buffers. */
#define BUFFERLEN 80
/* Imperial/Metric conversion */
#define MM_PER_INCH 25.4
#define INCH_PER_MM (1.0/MM_PER_INCH)
#endif /* LINUXCNC_H */