Commit 89e133a1 authored by Fedor Indutny's avatar Fedor Indutny Committed by Rod Vagg
Browse files

stream_base: remove static JSMethod declarations

Move JS methods to the stream_base-inl.h and thus define them on each
use of `StreamBase::AddMethods`. Inline `AddMethods` itself, so that
there won't be any need in a static declaration in stream_base.cc.

NOTE: This basically allows using this API in user-land, though, some
polishing is required before releasing it.

PR-URL: https://github.com/iojs/io.js/pull/957


Reviewed-By: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
parent a558cd0a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment