Skip to content

use of static to get the value of info #86

@mlabour

Description

@mlabour

On https://github.com/kuno/GeoIP/blob/master/src/org.cc at line 74

Why having
static Nan::Utf8String *host_cstr = new Nan::Utf8String(info[0]);
Instead of
Nan::Utf8String host_cstr(info[0]);

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions