More specifically, should I use the variantToBSON method?

It doesn't seem like my implementation is any different than that hni code.
That's another thing I'm kinda worried about.

Thanks!
On Apr 14, 2014 2:04 PM, "Jiajia Zhao" <snowbabyjia@gmail.com> wrote:

> I'll push the new code tonight. It'll look mostly like the hni code, which
> I think is kind of a pseudo visitor pattern. Is that ok?
>
>
>
>
> On Mon, Apr 14, 2014 at 2:01 PM, Vincent Do <notifications@github.com>wrote:
>
>> In src/ext_mongo.h:
>>
>> > @@ -17,6 +17,7 @@ class mongoExtension : public Extension {
>> >  public:
>> >    mongoExtension() : Extension("mongo") {}
>> >    virtual void moduleInit() {
>> > +
>>
>> Oh right. I originally added the decode global function here but decided
>> to move it to it's own file instead. Thanks for pointing it out.
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/10gen-labs/mongo-hhvm-driver/pull/28/files#r11598566>
>> .
>>
>
>