Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 26, 2015
  1. Add a `fillv` function to copy from a list of buffers to a single one

    authored
    Finalises the #40 naming saga
Commits on Jan 23, 2015
  1. Thomas Gazagnaire

    Merge pull request #42 from mirage/revert-40-buffer

    samoht authored
    Revert "Add buffer function"
  2. Thomas Gazagnaire

    Revert "Add buffer function"

    samoht authored
  3. Thomas Gazagnaire

    Merge pull request #40 from talex5/buffer

    samoht authored
    Add buffer function
  4. Add blitv function

    authored
    ```
    val blitv: t list -> t -> int * t list
    (** [blitv src dst] will copy the list of [src] buffers into [dst] and
        return a tuple of the total number of bytes written and a list of
        any uncopied buffers.  [blitv] will never raise an exception, since
        it returns any uncopied bytes if the [dst] buffer is not big enough
        to fit the full list of [src] buffers. *)
    ```
    
    via @talex5 in mirage/mirage-net-xen#17
Commits on Jan 15, 2015
  1. Thomas Leonard

    Added buffer function

    talex5 authored
    This is useful if you want to buffer data into fixed-sized chunks.
    It was originally in mirage-net-xen.
Commits on Nov 24, 2014
  1. sync CHANGES

    authored
  2. remove unused cstruct.obuild

    authored
  3. Merge pull request #37 from rgrinberg/master

    authored
    update gitignore + merlin
Commits on Nov 23, 2014
  1. Rudi Grinberg

    merlin

    rgrinberg authored
  2. Rudi Grinberg

    gitignore

    rgrinberg authored
Commits on Nov 21, 2014
  1. bump to 1.5.0

    authored
  2. Merge branch 'camlp4-optional' of git://github.com/avsm/ocaml-cstruct…

    authored
    … into avsm-camlp4-optional
    
    Conflicts:
    	_oasis
    	opam
    	setup.ml
Commits on Oct 28, 2014
  1. Thomas Gazagnaire

    Merge pull request #36 from samoht/master

    samoht authored
    opam lint
Commits on Oct 27, 2014
  1. Thomas Gazagnaire

    Fix test runs

    samoht authored
  2. Thomas Gazagnaire

    Update test cases

    samoht authored
  3. Thomas Gazagnaire

    Update _oasis

    samoht authored
  4. Thomas Gazagnaire

    Typo

    samoht authored
  5. Thomas Gazagnaire

    Improve the opam file

    samoht authored
  6. Thomas Gazagnaire

    Build system tweaks

    samoht authored
  7. Thomas Gazagnaire
  8. Thomas Gazagnaire

    Travis tweaks

    samoht authored
  9. Thomas Gazagnaire

    Use opam 1.2 in Travis CI

    samoht authored
Commits on Oct 25, 2014
  1. Thomas Gazagnaire

    opam lint

    samoht authored
Commits on Oct 2, 2014
  1. Make camlp4 an optional dependency.

    authored
    Note that this will require checking all the downstream consumers
    of OPAM cstruct and adding camlp4 explicitly.
Commits on Aug 10, 2014
  1. Merge pull request #34 from avsm/master

    authored
    Release 1.4.0
  2. Sync CHANGES from #33

    authored
  3. Merge pull request #33 from pqwy/bounds-everywhere

    authored
    Bounds everywhere
Commits on Jul 21, 2014
  1. David Kaloper

    test `of_bigarray`

    pqwy authored
  2. David Kaloper

    assure `of_bigarray` can't create invalid cstructs

    pqwy authored
    breaks compatibility:
      * len and off can't point out outside of bigarray
      * if given, len is not clipped to size of the given bigarray
Something went wrong with that request. Please try again.