jna如何调用c++类???

jna如何调用c++类???

            #include "stdafx.h"
            #include <vector>
            #include <set>
        class MyClass
        {
                public:
                    int add(int a, int b)
                    {
                        return a + b;
                    }
        }

        如何调用add方法???

得包装一下
https://blog.csdn.net/qq_34507736/article/details/83030005