equal
deleted
inserted
replaced
59 TRACE_PRN_FN_ENT; |
59 TRACE_PRN_FN_ENT; |
60 TMSMemBuffer* self = new TMSMemBuffer(); |
60 TMSMemBuffer* self = new TMSMemBuffer(); |
61 if (self) |
61 if (self) |
62 { |
62 { |
63 self->iDataPtr = dataptr; |
63 self->iDataPtr = dataptr; |
|
64 self->iOwnsBuffer = FALSE; |
|
65 self->iBufferSize = size; |
64 ret = TMS_RESULT_SUCCESS; |
66 ret = TMS_RESULT_SUCCESS; |
65 } |
67 } |
66 self->iOwnsBuffer = FALSE; |
|
67 self->iBufferSize = size; |
|
68 tmsbuffer = self; |
68 tmsbuffer = self; |
69 TRACE_PRN_FN_EXT; |
69 TRACE_PRN_FN_EXT; |
70 return ret; |
70 return ret; |
71 } |
71 } |
72 |
72 |