rename internal get/set functions

mainly because the salaam parser chokes on internal…
This commit is contained in:
Torsten Ruger
2015-11-07 17:40:59 +02:00
parent 8aabff6b37
commit 37928b8591
11 changed files with 39 additions and 39 deletions

View File

@ -82,7 +82,7 @@ module Parfait
def set_char at , char
raise "char not fixnum #{char.class}" unless char.kind_of? Fixnum
index = range_correct_index(at)
internal_object_set( index + 2, char )
set_internal( index + 2, char )
end
# get the character at the given index
@ -91,7 +91,7 @@ module Parfait
#the return "character" is an integer
def get_char at
index = range_correct_index(at)
return internal_object_get(index + 2 )
return get_internal(index + 2 )
end
# private method to calculate negative indexes into positives