Calling mangled class instance methods from function marked extern C

前端 未结 0 1026
感情败类
感情败类 2020-12-16 14:26

I have a typically declared class:

class Task {
    public:
        int test(int &c);
};


int Task::test(int &c) {
    c += 8;
    return c;
}


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题