Numworks Epsilon  1.4.1
Graphing Calculator Operating System
reader.h File Reference
#include "py/obj.h"

Go to the source code of this file.

Classes

struct  _mp_reader_t
 

Macros

#define MP_READER_EOF   ((mp_uint_t)(-1))
 

Typedefs

typedef struct _mp_reader_t mp_reader_t
 

Functions

void mp_reader_new_mem (mp_reader_t *reader, const byte *buf, size_t len, size_t free_len)
 
void mp_reader_new_file (mp_reader_t *reader, const char *filename)
 
void mp_reader_new_file_from_fd (mp_reader_t *reader, int fd, bool close_fd)
 

Macro Definition Documentation

◆ MP_READER_EOF

#define MP_READER_EOF   ((mp_uint_t)(-1))

Definition at line 34 of file reader.h.

Typedef Documentation

◆ mp_reader_t

typedef struct _mp_reader_t mp_reader_t

Function Documentation

◆ mp_reader_new_file()

void mp_reader_new_file ( mp_reader_t reader,
const char *  filename 
)

◆ mp_reader_new_file_from_fd()

void mp_reader_new_file_from_fd ( mp_reader_t reader,
int  fd,
bool  close_fd 
)

◆ mp_reader_new_mem()

void mp_reader_new_mem ( mp_reader_t reader,
const byte buf,
size_t  len,
size_t  free_len 
)

Definition at line 58 of file reader.c.