Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
マクロを介して C 関数呼び出しを変更できるようにする必要があるという問題が発生しています。
基本的な構造は次のようになります。
#define foo bar foo_1(x); foo_2(x); foo_3(x);
私が欲しいのは
bar_1(x); bar_2(x); bar_3(x);
ただし、文字列マクロは呼び出しのプレフィックス部分を置き換えないようです。
誰かが私を適切な方向に向けることができますか?