diff options
author | scuri <scuri> | 2008-10-17 06:10:15 +0000 |
---|---|---|
committer | scuri <scuri> | 2008-10-17 06:10:15 +0000 |
commit | 5a422aba704c375a307a902bafe658342e209906 (patch) | |
tree | 5005011e086bb863d8fb587ad3319bbec59b2447 /include/im_raw.h |
First commit - moving from LuaForge to SourceForge
Diffstat (limited to 'include/im_raw.h')
-rw-r--r-- | include/im_raw.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/im_raw.h b/include/im_raw.h new file mode 100644 index 0000000..073ad7d --- /dev/null +++ b/include/im_raw.h @@ -0,0 +1,34 @@ +/** \file + * \brief RAW File Format + * + * See Copyright Notice in im_lib.h + */ + +#ifndef __IM_RAW_H +#define __IM_RAW_H + +#if defined(__cplusplus) +extern "C" { +#endif + + +/** Opens a RAW image file. + * See also \ref imErrorCodes. + * + * \verbatim im.FileOpenRaw(file_name: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim + * \ingroup raw */ +imFile* imFileOpenRaw(const char* file_name, int *error); + +/** Creates a RAW image file. + * See also \ref imErrorCodes. + * + * \verbatim im.FileNewRaw(file_name: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim + * \ingroup raw */ +imFile* imFileNewRaw(const char* file_name, int *error); + + +#if defined(__cplusplus) +} +#endif + +#endif |