How to generate struct definition in the JNI header file with the javac or javah commands?

后端 未结 0 1291
耶瑟儿~
耶瑟儿~ 2021-01-15 03:15

Given a class such as:

class Position {
   float   x;
   float   y;

   public static native long instance();
   public static native float getX(long ptr);
           


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