summaryrefslogtreecommitdiff
path: root/arm9/source/types/readbuf.h
blob: 9077a69eeace4de471bb8ddb479cdb74d6534ca8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <nds.h>

#ifndef READBUF_H_
    #define READBUF_H_

    typedef struct {
        u8 *mem;
        u8 p;
    } ReadBuf;

    u8 rb_read(ReadBuf *buf);
    void rb_reset(ReadBuf *buf);

#endif