]> gitweb.factorcode.org Git - factor.git/commitdiff
removed some global functions from utilities.cpp
authorPhil Dawes <phil@phildawes.net>
Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 16 Sep 2009 07:16:29 +0000 (08:16 +0100)
vm/utilities.cpp
vm/utilities.hpp [changed mode: 0644->0755]

index ce17e8f526ed54892b1832d5a9cec90382a4be4e..a1e3f30e005085f9ead88ae9032059d7e7e72d66 100755 (executable)
@@ -35,11 +35,6 @@ void factorvm::nl()
        fputs("\n",stdout);
 }
 
-void nl()
-{
-       return vm->nl();
-}
-
 void factorvm::print_string(const char *str)
 {
        fputs(str,stdout);
@@ -55,41 +50,21 @@ void factorvm::print_cell(cell x)
        printf(CELL_FORMAT,x);
 }
 
-void print_cell(cell x)
-{
-       return vm->print_cell(x);
-}
-
 void factorvm::print_cell_hex(cell x)
 {
        printf(CELL_HEX_FORMAT,x);
 }
 
-void print_cell_hex(cell x)
-{
-       return vm->print_cell_hex(x);
-}
-
 void factorvm::print_cell_hex_pad(cell x)
 {
        printf(CELL_HEX_PAD_FORMAT,x);
 }
 
-void print_cell_hex_pad(cell x)
-{
-       return vm->print_cell_hex_pad(x);
-}
-
 void factorvm::print_fixnum(fixnum x)
 {
        printf(FIXNUM_FORMAT,x);
 }
 
-void print_fixnum(fixnum x)
-{
-       return vm->print_fixnum(x);
-}
-
 cell factorvm::read_cell_hex()
 {
        cell cell;
@@ -97,9 +72,4 @@ cell factorvm::read_cell_hex()
        return cell;
 }
 
-cell read_cell_hex()
-{
-       return vm->read_cell_hex();
-};
-
 }
old mode 100644 (file)
new mode 100755 (executable)
index 7e77651..bc7f7d9
@@ -1,15 +1,7 @@
 namespace factor
 {
-
 void *safe_malloc(size_t size);
 vm_char *safe_strdup(const vm_char *str);
-
-void nl();
 void print_string(const char *str);
-void print_cell(cell x);
-void print_cell_hex(cell x);
-void print_cell_hex_pad(cell x);
-void print_fixnum(fixnum x);
-cell read_cell_hex();
 
 }