view src/dmresw.h @ 872:b01d04e44b6f

Assume we always have 64bit type.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Feb 2015 20:58:34 +0200
parents 27949209238b
children 9f06f6661cdf
line wrap: on
line source

/*
 * DMLib
 * -- Resource management write helpers
 * Programmed and designed by Matti 'ccr' Hamalainen
 * (C) Copyright 2011-2015 Tecnic Software productions (TNSP)
 */
#ifndef DMRESW_H
#define DMRESW_H

#include "dmres.h"

#ifdef __cplusplus
extern "C" {
#endif

int          dmf_write_str(DMResource *, void *, size_t);
BOOL         dmf_write_byte(DMResource *, const Uint8);

BOOL         dmf_write_be16(DMResource *, Uint16);
BOOL         dmf_write_be32(DMResource *, Uint32);
BOOL         dmf_write_be64(DMResource *, Uint64);

BOOL         dmf_write_le16(DMResource *, Uint16);
BOOL         dmf_write_le32(DMResource *, Uint32);
BOOL         dmf_write_le64(DMResource *, Uint64);


#ifdef __cplusplus
}
#endif

#endif // DMRESW_H