Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 46d11510ad6e
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: d817843d2e0d
Choose a head ref
  • 1 commit
  • 10 files changed
  • 1 contributor

Commits on Jul 19, 2013

  1. smalloc: create separate module

    It will be confusing if later on we add Buffer#dispose(), and smalloc is
    its own cpp api anyways. So instead create a new require('smalloc') to
    expose the previous Buffer.alloc/dispose methods, and expose copyOnto
    and kMaxLength as well.
    
    Other changes:
    * Added documentation and additional tests.
    * smalloc::CopyOnto has changed from using assert() to throwing errors
      on bad argument values because it is not exposed to the user.
    * Minor style fixes.
    trevnorris committed Jul 19, 2013
    Copy the full SHA
    d817843 View commit details
    Browse the repository at this point in the history