2017-09-22 14:06:52 -07:00
|
|
|
// Copyright © 2017 Project Golan, all rights reserved.
|
|
|
|
#ifndef m_binio_h
|
|
|
|
#define m_binio_h
|
|
|
|
|
|
|
|
#include "m_types.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
// Extern Functions ----------------------------------------------------------|
|
|
|
|
|
2017-09-23 12:43:54 -07:00
|
|
|
void M_IO_WriteLE2u(FILE *fp, hword v);
|
2017-09-22 14:06:52 -07:00
|
|
|
void M_IO_WriteLE4u(FILE *fp, mword v);
|
2017-09-22 17:51:35 -07:00
|
|
|
void M_IO_WriteLE4k(FILE *fp, fixed v);
|
2017-09-23 12:43:54 -07:00
|
|
|
|
|
|
|
hword M_IO_ReadLE2u(FILE *fp);
|
2017-09-22 17:51:35 -07:00
|
|
|
mword M_IO_ReadLE4u(FILE *fp);
|
|
|
|
fixed M_IO_ReadLE4k(FILE *fp);
|
2017-09-22 14:06:52 -07:00
|
|
|
|
|
|
|
#endif
|