Skip to content

Commit

Permalink
Move the SEG defines into loader.h
Browse files Browse the repository at this point in the history
  • Loading branch information
atrodo committed Dec 7, 2010
1 parent 3c9ebcc commit 2697766
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions loader.c
Expand Up @@ -13,6 +13,7 @@

#include "lorito.h"
#include "internal_pmc.h"
#include "loader.h"
#include <stdio.h>

void file_info(Lorito_Interp *interp)
Expand Down
3 changes: 3 additions & 0 deletions loader.h
Expand Up @@ -3,6 +3,9 @@
#ifndef LORITO_LOADER_H_GUARD
#define LORITO_LOADER_H_GUARD

#define SEG_code 0
#define SEG_const 1

void
loadbc(Lorito_Interp *interp, const char* filename);

Expand Down
3 changes: 0 additions & 3 deletions lorito.h
Expand Up @@ -12,9 +12,6 @@
#include <string.h>
#include <ctype.h>

#define SEG_code 0
#define SEG_const 1

struct lorito_interp_t;
struct lorito_opcode_t;
struct lorito_reg_t;
Expand Down

0 comments on commit 2697766

Please sign in to comment.