added raw memory access primitive functions to SmallPointer
This commit is contained in:
		| @ -532,4 +532,14 @@ extend Error | ||||
|  | ||||
| class SmallPointer(Object) | ||||
| { | ||||
| 	method(#primitive) asString. | ||||
| 	 | ||||
| 	method(#primitive) getInt8  (offset). | ||||
| 	method(#primitive) getInt16 (offset). | ||||
| 	method(#primitive) getInt32 (offset). | ||||
| 	method(#primitive) getInt64 (offset). | ||||
| 	method(#primitive) getUint8 (offset). | ||||
| 	method(#primitive) getUint16(offset). | ||||
| 	method(#primitive) getUint32(offset). | ||||
| 	method(#primitive) getUint64(offset). | ||||
| } | ||||
|  | ||||
| @ -121,4 +121,3 @@ extend System | ||||
| 	method(#class,#primitive) _putUint64 (rawptr, offset, value), | ||||
| 	*) | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user