Skip to content

Commit

Permalink
rename mem.h to gc.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Somerville committed Jan 25, 2014
1 parent cba9713 commit 694b568
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion inc/slash.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define SL_SLASH_H

#include "slash/version.h"
#include "slash/mem.h"
#include "slash/gc.h"
#include "slash/value.h"
#include "slash/vm.h"
#include "slash/method.h"
Expand Down
4 changes: 2 additions & 2 deletions inc/slash/mem.h → inc/slash/gc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef SL_MEM_H
#define SL_MEM_H
#ifndef SL_GC_H
#define SL_GC_H

#include <stddef.h>

Expand Down
2 changes: 1 addition & 1 deletion inc/slash/vm.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "value.h"
#include "st.h"
#include "error.h"
#include "mem.h"
#include "gc.h"

struct sl_vm_ids {
/* operators */
Expand Down
2 changes: 1 addition & 1 deletion src/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <slash/class.h>
#include <slash/method.h>
#include <slash/object.h>
#include <slash/mem.h>
#include <slash/gc.h>
#include <slash/lib/array.h>
#include <slash/lib/lambda.h>

Expand Down
2 changes: 1 addition & 1 deletion src/gc.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include <slash/mem.h>
#include <slash/gc.h>
#include <slash/platform.h>
#include <stdint.h>

Expand Down
2 changes: 1 addition & 1 deletion src/lex.yy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <slash/lex.h>
#include <slash/string.h>
#include <slash/error.h>
#include <slash/mem.h>
#include <slash/gc.h>
%}

%option noyywrap yylineno reentrant nounistd never-interactive stack
Expand Down
2 changes: 1 addition & 1 deletion src/lex_helper.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <slash/lex.h>
#include <slash/utf8.h>
#include <slash/mem.h>
#include <slash/gc.h>
#include <slash/string.h>
#include <string.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/range.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <slash/class.h>
#include <slash/string.h>
#include <slash/method.h>
#include <slash/mem.h>
#include <slash/gc.h>

typedef struct {
sl_object_t base;
Expand Down
2 changes: 1 addition & 1 deletion src/st.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <stdlib.h>
#include <string.h>
#include <slash/st.h>
#include <slash/mem.h>
#include <slash/gc.h>
#include <slash/vm.h>

#define ST_DEFAULT_MAX_DENSITY 5
Expand Down
2 changes: 1 addition & 1 deletion src/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <slash/error.h>
#include <slash/platform.h>
#include <slash/method.h>
#include <slash/mem.h>
#include <slash/gc.h>

static int
sl_statically_initialized;
Expand Down

0 comments on commit 694b568

Please sign in to comment.