Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include "object.h"
  2. #include "harness/trace.h"
  3.  
  4. // IDA: br_error __cdecl _M_br_object_query(br_object *self, br_uint_32 *pvalue, br_token t)
  5. br_error _M_br_object_query(br_object* self, br_uint_32* pvalue, br_token t) {
  6.     LOG_TRACE("(%p, %p, %d)", self, pvalue, t);
  7.     NOT_IMPLEMENTED();
  8. }
  9.  
  10. // IDA: br_error __cdecl _M_br_object_queryBuffer(br_object *self, br_uint_32 *pvalue, br_uint_32 *buffer, br_size_t buffer_size, br_token t)
  11. br_error _M_br_object_queryBuffer(br_object* self, br_uint_32* pvalue, br_uint_32* buffer, br_size_t buffer_size, br_token t) {
  12.     LOG_TRACE("(%p, %p, %p, %d, %d)", self, pvalue, buffer, buffer_size, t);
  13.     NOT_IMPLEMENTED();
  14. }
  15.  
  16. // IDA: br_error __cdecl _M_br_object_queryMany(br_object *self, br_token_value *tv, void *extra, br_size_t extra_size, br_int_32 *pcount)
  17. br_error _M_br_object_queryMany(br_object* self, br_token_value* tv, void* extra, br_size_t extra_size, br_int_32* pcount) {
  18.     LOG_TRACE("(%p, %p, %p, %d, %p)", self, tv, extra, extra_size, pcount);
  19.     NOT_IMPLEMENTED();
  20. }
  21.  
  22. // IDA: br_error __cdecl _M_br_object_queryManySize(br_object *self, br_size_t *pextra_size, br_token_value *tv)
  23. br_error _M_br_object_queryManySize(br_object* self, br_size_t* pextra_size, br_token_value* tv) {
  24.     LOG_TRACE("(%p, %p, %p)", self, pextra_size, tv);
  25.     NOT_IMPLEMENTED();
  26. }
  27.  
  28. // IDA: br_error __cdecl _M_br_object_queryAll(br_object *self, br_token_value *buffer, br_size_t buffer_size)
  29. br_error _M_br_object_queryAll(br_object* self, br_token_value* buffer, br_size_t buffer_size) {
  30.     LOG_TRACE("(%p, %p, %d)", self, buffer, buffer_size);
  31.     NOT_IMPLEMENTED();
  32. }
  33.  
  34. // IDA: br_error __cdecl _M_br_object_queryAllSize(br_object *self, br_size_t *psize)
  35. br_error _M_br_object_queryAllSize(br_object* self, br_size_t* psize) {
  36.     LOG_TRACE("(%p, %p)", self, psize);
  37.     NOT_IMPLEMENTED();
  38. }
  39.  
  40. // IDA: void __cdecl _BrObjectFree(void *res, br_uint_8 res_class, br_size_t size)
  41. void _BrObjectFree(void* res, br_uint_8 res_class, br_size_t size) {
  42.     //br_object* o; // Pierre-Marie Baty -- unused variable
  43.     LOG_TRACE("(%p, %d, %d)", res, res_class, size);
  44.     NOT_IMPLEMENTED();
  45. }
  46.