Package apple.struct

Class mach_header


  • public final class mach_header
    extends org.moe.natj.c.StructObject
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        mach_header()  
      protected mach_header​(org.moe.natj.general.Pointer peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int cpusubtype()
      machine specifier
      int cputype()
      cpu specifier
      int filetype()
      type of file
      int flags()
      flags
      int magic()
      mach magic number identifier
      int ncmds()
      number of load commands
      void setCpusubtype​(int value)
      machine specifier
      void setCputype​(int value)
      cpu specifier
      void setFiletype​(int value)
      type of file
      void setFlags​(int value)
      flags
      void setMagic​(int value)
      mach magic number identifier
      void setNcmds​(int value)
      number of load commands
      void setSizeofcmds​(int value)
      the size of all the load commands
      int sizeofcmds()
      the size of all the load commands
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • mach_header

        public mach_header()
      • mach_header

        protected mach_header​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • magic

        public int magic()
        mach magic number identifier
      • setMagic

        public void setMagic​(int value)
        mach magic number identifier
      • cputype

        public int cputype()
        cpu specifier
      • setCputype

        public void setCputype​(int value)
        cpu specifier
      • cpusubtype

        public int cpusubtype()
        machine specifier
      • setCpusubtype

        public void setCpusubtype​(int value)
        machine specifier
      • filetype

        public int filetype()
        type of file
      • setFiletype

        public void setFiletype​(int value)
        type of file
      • ncmds

        public int ncmds()
        number of load commands
      • setNcmds

        public void setNcmds​(int value)
        number of load commands
      • sizeofcmds

        public int sizeofcmds()
        the size of all the load commands
      • setSizeofcmds

        public void setSizeofcmds​(int value)
        the size of all the load commands
      • flags

        public int flags()
        flags
      • setFlags

        public void setFlags​(int value)
        flags