library {
  // module name: <pod1.def>

  library fragment {
    // package name: pod1

    // class name: pod1/IOGPoint
    // class name: pod1/IOGPoint.Companion
    // class name: pod1/NXMouseButton
    // class name: pod1/NXMouseButton.Companion
    // class name: pod1/NXMouseButton.Var
    // class name: pod1/NXMouseButton.Var.Companion

    @kotlinx/cinterop/internal/CStruct(spelling = "struct  { int x; }")
    public final class pod1/IOGPoint : kotlinx/cinterop/CStructVar {

      public constructor(rawPtr: kotlin/native/internal/NativePtr /* = kotlinx/cinterop/NativePtr^ */)

      public final var x: kotlin/Int
        @kotlinx/cinterop/internal/CStruct.MemberAt(offset = 0L)
        public final /* non-default */ external get
        @kotlinx/cinterop/internal/CStruct.MemberAt(offset = 0L)
        public final /* non-default */ external set(value: kotlin/Int)

      // companion object: Companion

      // nested class: Companion
    }

    @kotlinx/cinterop/internal/CStruct.VarType(size = 4L, align = 4)
    @kotlin/Deprecated(message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = kotlin/ReplaceWith(imports = [], expression = ""), level = kotlin/DeprecationLevel.WARNING)
    public final companion object pod1/IOGPoint.Companion : kotlinx/cinterop/CStructVar.Type {

      private constructor()
    }

    public final enum class pod1/NXMouseButton : kotlin/Enum<pod1/NXMouseButton>, kotlinx/cinterop/CEnum {

      private constructor(value: kotlin/UInt)

      public open val value: kotlin/UInt
        public open /* non-default */ get

      // companion object: Companion

      // nested class: Var

      // nested class: Companion

      @kotlinx/cinterop/internal/ConstantValue.UInt(value = 0u)
      NX_OneButton,

      // has Enum.entries
    }

    public final companion object pod1/NXMouseButton.Companion {

      private constructor()

      @kotlin/Deprecated(message = "Will be removed.", replaceWith = kotlin/ReplaceWith(imports = [], expression = ""), level = kotlin/DeprecationLevel.WARNING)
      public final fun byValue(value: kotlin/UInt): pod1/NXMouseButton
    }

    public final class pod1/NXMouseButton.Var : kotlinx/cinterop/CEnumVar {

      public constructor(rawPtr: kotlin/native/internal/NativePtr /* = kotlinx/cinterop/NativePtr^ */)

      public final var value: pod1/NXMouseButton
        public final /* non-default */ external get
        public final /* non-default */ external set(value: pod1/NXMouseButton)

      // companion object: Companion

      // nested class: Companion
    }

    @kotlinx/cinterop/internal/CEnumVarTypeSize(size = 4)
    @kotlin/Deprecated(message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = kotlin/ReplaceWith(imports = [], expression = ""), level = kotlin/DeprecationLevel.WARNING)
    public final companion object pod1/NXMouseButton.Var.Companion : kotlinx/cinterop/CPrimitiveVar.Type {

      private constructor()
    }

    package {

      @kotlinx/cinterop/internal/CCall(id = "knifunptr_pod11_IOHIDGetButtonEventNum")
      public final external fun IOHIDGetButtonEventNum(button: pod1/NXMouseButton): kotlin/Int

      @kotlinx/cinterop/internal/CCall(id = "knifunptr_pod10_IOHIDPostEvent")
      public final external fun IOHIDPostEvent(location: kotlinx/cinterop/CValue<pod1/IOGPoint>): kotlin/Int
    }
  }
}
