~ndb-bindings/ndb-bindings/trunk

« back to all changes in this revision

Viewing changes to interface/ndbapi/NdbBlob.i

  • Committer: Monty Taylor
  • Date: 2009-03-14 19:13:19 UTC
  • mfrom: (471.1.5 working)
  • Revision ID: mordred@inaugust.com-20090314191319-39qd8zsrhrlh2ezf
Merged latest from Craig.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
  voidint setNull();
54
54
  int truncate(Uint64 length = 0);
55
55
  int setPos(Uint64 pos);
56
 
  int writeData(const char* data, Uint32 bytes);
57
56
 
58
57
  %ndbexception("NdbErrorNotAvailable") {
59
58
    $action
105
104
    return (Int64)b;
106
105
  }
107
106
 
 
107
  voidint writeData(const char * BYTE, size_t len) {
 
108
 
 
109
    return self->writeData((void *)BYTE, len);
 
110
  }
 
111
 
108
112
  %ndbexception("NdbApiException") {
109
113
    static int ret = 0;
110
114
    $action