+
    i                       R t ^ RIHt ^ RIHt ]'       g   R]9   d   ^RIH	t	 M^ RI	t	 ^ RI
tR tR tR tR	 t ! R
 R]4      t^ RIt]	P(                  t^ RIHtHtHt ^ RIt ! R R]4      t]	P8                  ! ]4       R R lt]	P<                  t]	P>                  t]	P@                  t ]PB                  t"]PF                  t$]PJ                  t&R#   ] d    ^ RIt Li ; i)a  System independent counterparts of FILE* related functions from Clib.

You should not use C standard I/O functions in your modules. The reason: Each module compiled with Borland (and statically linked to Borland's library) will host a copy of the FILE * information.
So, if you open a file in the plugin and pass the handle to the kernel, the kernel will not be able to use it.
If you really need to use the standard functions, define USE_STANDARD_FILE_FUNCTIONS. In this case do not mix them with q... functions.
)annotations)version_info.)	_ida_fproNc                     R V P                   P                  4       ,           pRV P                  P
                  : RV P                  P                  : RV: R2#   \        P                   d    Rp LPi ; i)z	proxy of  <r   z; z >)this__repr____builtin__	Exception	__class__
__module____name__)selfstrthiss   & @C:\Users\user\Downloads\ida93sp2\portable_win\python\ida_fpro.py
_swig_reprr      sg    		 2 2 44 "^^669     s   !A A43A4c                   a  V 3R  lpV# )c                  < VR 8X  d   S! WV4       R# VR8X  d   V P                   P                  V4       R# \        W4      '       d5   \        \	        \        V 4      V4      \        4      '       d   S! WV4       R# \        RV ,          4      h)r	   thisownz(You cannot add instance attributes to %sN)r	   ownhasattr
isinstancegetattrtypepropertyAttributeError)r   namevaluesets   &&&r   set_instance_attrE_swig_setattr_nondynamic_instance_variable.<locals>.set_instance_attr   su    6>E"YIIMM% T  ZT
D0I& &E" !K"       )r    r!   s   f r   *_swig_setattr_nondynamic_instance_variabler%      s    
 r#   c                   a  V 3R  lpV# )c                   < \        W4      '       d+   \        \        W4      \        4      '       g   S! WV4       R# \	        R V ,          4      h)z%You cannot add class attributes to %sN)r   r   r   r   r   )clsr   r   r    s   &&&r   set_class_attr?_swig_setattr_nondynamic_class_variable.<locals>.set_class_attr.   s:    3j1CX&N&N5! !H3!NOOr#   r$   )r    r)   s   f r   '_swig_setattr_nondynamic_class_variabler+   ,   s    P
 r#   c                   a  V 3R lpV# )zlClass decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclassc                p   < S! V P                   V P                  V P                  P                  4       4      # N)r   	__bases____dict__copy)r(   	metaclasss   &r   wrapper$_swig_add_metaclass.<locals>.wrapper9   s'    s}}cll6G6G6IJJr#   r$   )r2   r3   s   f r   _swig_add_metaclassr5   6   s    KNr#   c                  >    ] tR t^>tRt]! ]P                  4      tRtR# )_SwigNonDynamicMetazKMeta class to enforce nondynamic attributes (no new attributes) for a classr$   N)	r   r   __qualname____firstlineno____doc__r+   r   __setattr____static_attributes__r$   r#   r   r7   r7   >   s    U9$:J:JKKr#   r7   )TupleListUnionc                  p   ] tR t^It$ Rt]! R R RR7      t]t]! ]	P                  ]	P                  4      tR]R&   R tR	 tR
 t]	P"                  tR t]R R l4       t]R R l4       t]R 4       tR R lt]P4                  3R ltR tR tR tR tR t R t!R R lt"R R lt#R t$R R  lt%R! t&R" t'R#t(R$# )%qfile_tz3A helper class to work with FILE related functions.c                	6    V P                   P                  4       # r.   r	   r   )xs   &r   <lambda>qfile_t.<lambda>K   s    r#   c                	8    V P                   P                  V4      # r.   rC   )rD   vs   &&r   rE   rF   K   s    AFFJJqMr#   zThe membership flag)docint__idc_cvt_id__c                	X    \         P                  ! V \         P                  ! V!  4       R # r.   )r   qfile_t_swiginitnew_qfile_t)r   argss   &*r   __init__qfile_t.__init__Q   s    ""4)>)>)EFr#   c                .    \         P                  ! V 4      # )z#Checks if the file is opened or not)r   qfile_t_openedr   s   &r   openedqfile_t.openedT   s    ''--r#   c                .    \         P                  ! V 4      # )zCloses the file)r   qfile_t_closerT   s   &r   closeqfile_t.closeX   s    &&t,,r#   c                0    \         P                  ! WV4      # )znOpens a file

:param filename: the file name
:param mode: The mode string, ala fopen() style
:returns: Boolean)r   qfile_t_open)r   filenamemodes   &&&r   openqfile_t.open]   s     %%dd;;r#   c                    V ^8  d   QhRRRR/# )   fp'FILE *'return'qfile_t *'r$   )formats   "r   __annotate__qfile_t.__annotate__f   s     - -H - -r#   c                	.    \         P                  ! V 4      # r.   )r   qfile_t_from_fprc   s   &r   from_fpqfile_t.from_fpe   s    ((,,r#   c                    V ^8  d   QhRRRR/# )rb   	pycapsule'PyObject *'re   rf   r$   )rg   s   "r   rh   ri   j   s     9 9 9 9r#   c                	.    \         P                  ! V 4      # r.   )r   qfile_t_from_capsule)rp   s   &r   from_capsuleqfile_t.from_capsulei   s    --i88r#   c                 ,    \         P                  ! 4       # )z?A static method to construct an instance using a temporary file)r   qfile_t_tmpfiler$   r#   r   tmpfileqfile_t.tmpfilem   s     ((**r#   c                   V ^8  d   QhRR/# )rb   re   rd   r$   )rg   s   "r   rh   ri   r   s     . .x .r#   c                	.    \         P                  ! V 4      # r.   )r   qfile_t_get_fprT   s   &r   get_fpqfile_t.get_fpr   s    ''--r#   c                0    \         P                  ! WV4      # )zSet input source position

:param offset: the seek offset
:param whence: the position to seek from
:returns: the new position (not 0 as fseek!))r   qfile_t_seek)r   offsetwhences   &&&r   seekqfile_t.seeku   s     %%dF;;r#   c                .    \         P                  ! V 4      # )zReturns the current position)r   qfile_t_tellrT   s   &r   tellqfile_t.tell}   s    %%d++r#   c                0    \         P                  ! WV4      # )zSimilar to read() but it respect the endianness

:param size: the maximum number of bytes to read
:param big_endian: endianness
:returns: a str, or None)r   qfile_t_readbytesr   size
big_endians   &&&r   	readbytesqfile_t.readbytes   s     **4zBBr#   c                .    \         P                  ! W4      # )zzReads from the file. Returns the buffer or None

:param size: the maximum number of bytes to read
:returns: a str, or None)r   qfile_t_read)r   r   s   &&r   readqfile_t.read   s    
 %%d11r#   c                8    \         P                  ! V \        4      # )zdReads a line from the input file. Returns the read line or None

:param len: the maximum line length)r   qfile_t_getsr   )r   lens   &&r   getsqfile_t.gets   s     %%dD11r#   c                :    \         P                  ! V \        V4      # )zSimilar to write() but it respect the endianness

:param buf: the str to write
:param big_endian: endianness
:returns: result code)r   qfile_t_writebytespy_bufr   s   &&&r   
writebytesqfile_t.writebytes   s     ++D&*EEr#   c                8    \         P                  ! V \        4      # )zpWrites to the file. Returns 0 or the number of bytes written

:param buf: the str to write
:returns: result code)r   qfile_t_writer   )r   bufs   &&r   writeqfile_t.write   s    
 &&tV44r#   c                    V ^8  d   QhRRRR/# )rb   strre   rJ   r$   )rg   s   "r   rh   ri      s     1 1 1s 1r#   c                	.    \         P                  ! W4      # r.   )r   qfile_t_puts)r   r   s   &&r   putsqfile_t.puts   s    %%d00r#   c                   V ^8  d   QhRR/# )rb   re   z'int64'r$   )rg   s   "r   rh   ri      s     , ,W ,r#   c                	.    \         P                  ! V 4      # r.   )r   qfile_t_sizerT   s   &r   r   qfile_t.size   s    %%d++r#   c                	.    \         P                  ! V 4      # r.   )r   qfile_t_flushrT   s   &r   flushqfile_t.flush   s    &&t,,r#   c                   V ^8  d   QhRR/# )rb   re   rq   r$   )rg   s   "r   rh   ri      s     0 0 0r#   c                	.    \         P                  ! V 4      # r.   )r   qfile_t_filenamerT   s   &r   r]   qfile_t.filename   s    ))$//r#   c                .    \         P                  ! V 4      # )zGReads a single byte from the file. Returns None if EOF or the read byte)r   qfile_t_get_byterT   s   &r   get_byteqfile_t.get_byte   s    ))$//r#   c                8    \         P                  ! V \        4      # )z<Writes a single byte to the file

:param chr: the byte value)r   qfile_t_put_bytechrrT   s   &r   put_byteqfile_t.put_byte   s     ))$44r#   r$   N))r   r   r8   r9   r:   r   r   r   r
   r   qfile_t___idc_cvt_id___getqfile_t___idc_cvt_id___setrK   __annotations__rP   rU   rY   delete_qfile_t__swig_destroy__r_   staticmethodrm   rt   rx   r}   
ida_idaapiSEEK_SETr   r   r   r   r   r   r   r   r   r   r]   r   r   r<   r$   r#   r   rA   rA   I   s    =-/I!#GH"9#G#G,,.NC .G.- !//< - - 9 9 + +. #-"5"5 <,C22F51,-005r#   rA   c                    V ^8  d   QhRRRR/# )rb   rc   rd   re   rJ   r$   )rg   s   "r   rh   rh      s     ! ! !C !r#   c                .    \         P                  ! V 4      # r.   )r   qfcloserl   s   &r   r   r      s    R  r#   )'r:   
__future__r   sysr   _swig_python_version_info__package__r   r   r   builtinsr   ImportErrorr   r%   r+   r5   r   r7   weakrefSWIG_PYTHON_LEGACY_BOOLtypingr=   r>   r?   r   objectrA   qfile_t_swigregisterr   QMOVE_CROSS_FSQMOVE_OVERWRITEQMOVE_OVR_ROrm   rk   rt   rs   rx   rw   r$   r#   r   <module>r      s    # 9#/"
 L$ L
 #;;  % % p5f p5f 
  w '! ))++%%//++ //s  s   C CC