io.h

Fri, 15 Mar 2013 20:39:29 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 15 Mar 2013 20:39:29 +0200
changeset 3
2b78cf8634c3
parent 0
c51cce84a9ac
child 4
758302636564
permissions
-rw-r--r--

don't crash if g_CurrentFile is null

#ifndef __IO_H__
#define __IO_H__

#include "common.h"
#include "ldtypes.h"
#include "str.h"

// PROTOTYPES
OpenFile* IO_FindLoadedFile (str name);
OpenFile* IO_ParseLDFile (str path);
LDObject* ParseLine (str zLine);

extern vector<OpenFile*> g_LoadedFiles;

#endif

mercurial