Skip to content

Commit 092a175

Browse files
committed
Address comments
1 parent d38c7e8 commit 092a175

3 files changed

Lines changed: 24 additions & 9 deletions

File tree

binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
],
4747
'include_dirs': [
4848
'.',
49-
'./third_party/ref-napi/src',
49+
'./third_party/ref-napi/src',
5050
'<(ros_include_root)',
5151
"<!@(node -p \"require('node-addon-api').include\")",
5252
],

third_party/ref-napi/index.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
/**
2-
* Vendored copy of @rclnodejs/ref-napi (MIT License).
3-
* Entry point re-exporting the original module implementation.
4-
*/
1+
// Copyright (c) 2025, The Robot Web Tools Contributors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
514

615
module.exports = require('./lib/ref');

third_party/ref-napi/src/ref_napi_bindings.h

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
// Copyright (c) 2020 The ref-napi Authors.
21
//
3-
// Licensed under the MIT License. See LICENSE in third_party/ref-napi.
2+
// Licensed under the Apache License, Version 2.0 (the "License");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
45
//
5-
// This file adapts the ref-napi addon initialization for integration
6-
// into the rclnodejs native module.
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
713

814
#ifndef THIRD_PARTY_REF_NAPI_SRC_REF_NAPI_BINDINGS_H_
915
#define THIRD_PARTY_REF_NAPI_SRC_REF_NAPI_BINDINGS_H_

0 commit comments

Comments
 (0)