Changeset 16141 in project


Ignore:
Timestamp:
10/07/09 07:56:35 (10 years ago)
Author:
Ivan Raikov
Message:

initial import of endian-blob

Location:
release/4
Files:
10 added
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/byte-blob/trunk/byte-blob.scm

    r16139 r16141  
    121121    (foreign-lambda* void ((nonnull-blob b) (unsigned-int n) (integer offset) (byte value))
    122122#<<END
    123    unsigned int i;
    124    b[offset] = value;
    125    for (i=offset+n; i>offset; i--)
    126    {
    127      b[i-1] = value;
    128    }
     123   memset((void *)(b+offset),value,n);
    129124END
    130125))
Note: See TracChangeset for help on using the changeset viewer.