File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 32573257\begin {codeblock }
32583258extern "C" typedef void FUNC_c();
32593259class C {
3260- void mf1(FUNC_c*); // the name of the function \tcode {mf1} and the member
3260+ void mf1(FUNC_c*); // the name of the function \tcode {mf1} and the member
32613261 // function's type have \Cpp language linkage; the
32623262 // parameter has type pointer to C function
3263- FUNC_c mf2; // the name of the function \tcode {mf2} and the member
3263+ FUNC_c mf2; // the name of the function \tcode {mf2} and the member
32643264 // function's type have \Cpp language linkage
3265- static FUNC_c* q; // the name of the data member \tcode {q} has \Cpp language
3265+ static FUNC_c* q; // the name of the data member \tcode {q} has \Cpp language
32663266 // linkage and the data member's type is pointer to
32673267 // C function
32683268};
32693269
32703270extern "C" {
32713271 class X {
3272- void mf(); // the name of the function \tcode {mf} and the member
3272+ void mf(); // the name of the function \tcode {mf} and the member
32733273 // function's type have \Cpp language linkage
3274- void mf2(void(*)()); // the name of the function \tcode {mf2} has \Cpp language
3274+ void mf2(void(*)()); // the name of the function \tcode {mf2} has \Cpp language
32753275 // linkage; the parameter has type pointer to
32763276 // C function
32773277 };
You can’t perform that action at this time.
0 commit comments