Skip to content

use of static to get the value of info #86

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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