PhysFSFile.js 444 B

123456789101112131415161718
  1. function PhysFSFile() {
  2. }
  3. PhysFSFile.prototype.read = function(ptr,size,count) {
  4. Polycode.PhysFSFile_read(this.__ptr, ptr,size,count)
  5. }
  6. PhysFSFile.prototype.write = function(ptr,size,count) {
  7. Polycode.PhysFSFile_write(this.__ptr, ptr,size,count)
  8. }
  9. PhysFSFile.prototype.seek = function(offset,origin) {
  10. Polycode.PhysFSFile_seek(this.__ptr, offset,origin)
  11. }
  12. PhysFSFile.prototype.tell = function() {
  13. Polycode.PhysFSFile_tell(this.__ptr)
  14. }