-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
v8pp::version()
function to return the library version string
Updated version to 1.7.0 in `package.json`, glob `*.cpp` files into the NPM package. Print both V8 and v8pp versions in the test runner if `--version` command-line option was supplied.
- Loading branch information
Showing
7 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include "v8pp/version.hpp" | ||
|
||
#if !V8PP_HEADER_ONLY | ||
#include "v8pp/version.ipp" | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// Copyright (c) 2013-2016 Pavel Medvedev. All rights reserved. | ||
// | ||
// This file is part of v8pp (https://github.com/pmed/v8pp) project. | ||
// | ||
// Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
// | ||
#ifndef V8PP_VERSION_HPP_INCLUDED | ||
#define V8PP_VERSION_HPP_INCLUDED | ||
|
||
#include "v8pp/config.hpp" | ||
|
||
namespace v8pp { | ||
|
||
char const* version(); | ||
|
||
} | ||
|
||
#if V8PP_HEADER_ONLY | ||
#include "v8pp/version.ipp" | ||
#endif | ||
|
||
#endif // V8PP_VERSION_HPP_INCLUDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "v8pp/version.hpp" | ||
|
||
namespace v8pp { | ||
|
||
V8PP_IMPL char const* version() | ||
{ | ||
return "1.7.0"; | ||
} | ||
|
||
} // namespace v8pp |