forked from LinuxCNC/linuxcnc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
posemath.h: replace some macros with function templates.
posemath.h contains some macros for conversion between C structs and C++ classes. Those macros are named like 'toLine' and don't follow usual convention that #define should use CAPITALIZED_NAMES. To avoid name collisions, replace macros with function templates and make sure those are only enabled if compiled as C++.
- Loading branch information
Showing
1 changed file
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters