PyFileObject Struct Reference

PyFileObject Struct Reference

#include <fileobject.h>

Class Description

Definition at line 10 of file fileobject.h.

Public Attributes

PyObject_HEAD FILEf_fp
 
PyObjectf_name
 
PyObjectf_mode
 
int(* f_close )(FILE *)
 
int f_softspace
 
int f_binary
 
char * f_buf
 
char * f_bufend
 
char * f_bufptr
 
char * f_setbuf
 
int f_univ_newline
 
int f_newlinetypes
 
int f_skipnextlf
 
PyObjectf_encoding
 
PyObjectf_errors
 
PyObjectweakreflist
 
int unlocked_count
 
int readable
 
int writable
 

Member Data Documentation

int f_binary

Definition at line 17 of file fileobject.h.

char* f_buf

Definition at line 19 of file fileobject.h.

char* f_bufend

Definition at line 20 of file fileobject.h.

char* f_bufptr

Definition at line 21 of file fileobject.h.

int(* f_close) (FILE *)

Definition at line 15 of file fileobject.h.

PyObject* f_encoding

Definition at line 26 of file fileobject.h.

PyObject* f_errors

Definition at line 27 of file fileobject.h.

Definition at line 12 of file fileobject.h.

PyObject* f_mode

Definition at line 14 of file fileobject.h.

PyObject* f_name

Definition at line 13 of file fileobject.h.

int f_newlinetypes

Definition at line 24 of file fileobject.h.

char* f_setbuf

Definition at line 22 of file fileobject.h.

int f_skipnextlf

Definition at line 25 of file fileobject.h.

int f_softspace

Definition at line 16 of file fileobject.h.

int f_univ_newline

Definition at line 23 of file fileobject.h.

int readable

Definition at line 31 of file fileobject.h.

int unlocked_count

Definition at line 29 of file fileobject.h.

PyObject* weakreflist

Definition at line 28 of file fileobject.h.

int writable

Definition at line 32 of file fileobject.h.


The documentation for this struct was generated from the following file: