Add skeleton for string library calls.

This commit is contained in:
James Roseborough
2007-09-18 01:00:36 +00:00
parent 5efda81b17
commit 952a2f9f16
6 changed files with 379 additions and 42 deletions

View File

@@ -342,4 +342,8 @@ public class LString extends LValue {
System.arraycopy( a, 0, newbytes, 0, Math.min( newSize, a.length ) );
return newbytes;
}
public int luaByte(int index) {
return m_bytes[m_offset + index];
}
}