Next: , Previous: , Up: File Library Definitions   [Index]


7.12.1.3 File Library Generation Flags

The file library generation flags affect the file library objects construction.

Zero or more generation flags may be specified for the flags argument of the file library construction function.

See x1f4_init_lxfile.

X1f4_LXFILE_AUTOLINK

indicates the file library constructor that it should observe the temporaries allocator.

X1f4_LXFILE_CODELINK

indicates the file library constructor that it should observe the library data memory allocator (the library data memory allocator allocates memory for the library object construction purposes only).

X1f4_LXFILE_DATALINK

indicates the file library constructor that it should observe the ‘data’ data type indications (like the type id of the ‘data’ data type) and that it should generate those functions referring the ‘data’ data type (like the ‘f_b_read’ function).

X1f4_LXFILE_LISTLINK

indicates the file library constructor that it should observe the ‘list’ data type indications (like the type id of the ‘list’ data type) and that it should generate those functions referring the ‘list’ data type (like the ‘f_list’ function).

X1f4_LXFILE_MISSOPEN

indicates the file library constructor that it should not generate functions opening system files (in the such of ‘f_open’)

X1f4_LXFILE_RESOURCE

indicates the file library constructor that it should observe the data memory allocator (data is data of the ‘file’ type, but also data of any other allocated data type, like data of the intrinsic ‘text’ string type).

X1f4_LXFILE_SETCLOSE

indicates the file library constructor that it should arrange for the close-on-exec flag to be set for the newly opened files (open by the file library, that is).

X1f4_LXFILE_TEXTFLAT

indicates the file library constructor that it should observe the error reporter.


Next: , Previous: , Up: File Library Definitions   [Index]