text: #include <jni.h>
  #include <stdlib.h>
  #include <string.h>
  #include <vulkan/vulkan.h>
  
  jlong jniPointerToLong(const void* p);
  void* jniLongToPointer(jlong l);
  jlong jniFunctionPointerToLong(PFN_vkVoidFunction p);
  PFN_vkVoidFunction jniLongToFunctionPointer(jlong l);
  void jniThrowException(JNIEnv* env, const char* message);
  
  jlong Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_sizeof(JNIEnv* env, jclass jc)
  {
      (void)env;
      (void)jc;
      return sizeof(VkObjectTableVertexBufferEntryNVX);
  }
  
  void Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_setNative(JNIEnv* env, jclass jc, jlong o1, jlong o2)
  {
      (void)env;
      (void)jc;
      memcpy(jniLongToPointer(o1), jniLongToPointer(o2), sizeof(VkObjectTableVertexBufferEntryNVX));
  }
  
  jlong Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_getTypeNative(JNIEnv* env, jclass jc, jlong address)
  {
      (void)env;
      (void)jc;
      VkObjectTableVertexBufferEntryNVX* o = (VkObjectTableVertexBufferEntryNVX*)jniLongToPointer(address);
      return jniPointerToLong(&o->type);
  }
  
  void Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_setTypeNative(JNIEnv* env, jclass jc, jlong address, jlong valueAddress)
  {
      (void)env;
      (void)jc;
      VkObjectTableVertexBufferEntryNVX* o = (VkObjectTableVertexBufferEntryNVX*)jniLongToPointer(address);
      void* valuePointer = jniLongToPointer(valueAddress);
      memcpy(&o->type, valuePointer, sizeof(o->type));
  }
  
  jlong Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_getFlagsNative(JNIEnv* env, jclass jc, jlong address)
  {
      (void)env;
      (void)jc;
      VkObjectTableVertexBufferEntryNVX* o = (VkObjectTableVertexBufferEntryNVX*)jniLongToPointer(address);
      return jniPointerToLong(&o->flags);
  }
  
  void Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_setFlagsNative(JNIEnv* env, jclass jc, jlong address, jlong valueAddress)
  {
      (void)env;
      (void)jc;
      VkObjectTableVertexBufferEntryNVX* o = (VkObjectTableVertexBufferEntryNVX*)jniLongToPointer(address);
      void* valuePointer = jniLongToPointer(valueAddress);
      memcpy(&o->flags, valuePointer, sizeof(o->flags));
  }
  
  jlong Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_getBufferNative(JNIEnv* env, jclass jc, jlong address)
  {
      (void)env;
      (void)jc;
      VkObjectTableVertexBufferEntryNVX* o = (VkObjectTableVertexBufferEntryNVX*)jniLongToPointer(address);
      return jniPointerToLong(&o->buffer);
  }
  
  void Java_cz_mg_vulkan_VkObjectTableVertexBufferEntryNVX_setBufferNative(JNIEnv* env, jclass jc, jlong address, jlong valueAddress)
  {
      (void)env;
      (void)jc;
      VkObjectTableVertexBufferEntryNVX* o = (VkObjectTableVertexBufferEntryNVX*)jniLongToPointer(address);
      void* valuePointer = jniLongToPointer(valueAddress);
      memcpy(&o->buffer, valuePointer, sizeof(o->buffer));
  }
  
  
  