You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/napi/export/README.md
+70-2Lines changed: 70 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,70 @@ limitations under the License.
36
36
37
37
## Usage
38
38
39
+
```javascript
40
+
var headerDir =require( '@stdlib/assert/napi/equal-types' );
41
+
```
42
+
43
+
#### headerDir
44
+
45
+
Absolute file path for the directory containing header files for C APIs.
46
+
47
+
```javascript
48
+
var dir = headerDir;
49
+
// returns <string>
50
+
```
51
+
52
+
</section>
53
+
54
+
<!-- /.usage -->
55
+
56
+
<!-- Package usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
57
+
58
+
<sectionclass="notes">
59
+
60
+
</section>
61
+
62
+
<!-- /.notes -->
63
+
64
+
<!-- Package usage examples. -->
65
+
66
+
<sectionclass="examples">
67
+
68
+
## Examples
69
+
70
+
```javascript
71
+
var headerDir =require( '@stdlib/assert/napi/equal-types' );
72
+
73
+
console.log( headerDir );
74
+
// => <string>
75
+
```
76
+
77
+
</section>
78
+
79
+
<!-- /.examples -->
80
+
81
+
<!-- C interface documentation. -->
82
+
83
+
* * *
84
+
85
+
<sectionclass="c">
86
+
87
+
## C APIs
88
+
89
+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
90
+
91
+
<sectionclass="intro">
92
+
93
+
</section>
94
+
95
+
<!-- /.intro -->
96
+
97
+
<!-- C usage documentation. -->
98
+
99
+
<sectionclass="usage">
100
+
101
+
### Usage
102
+
39
103
```c
40
104
#include"stdlib/napi/export.h"
41
105
```
@@ -69,22 +133,26 @@ When used, this macro should be used **instead of** `NAPI_MODULE`. The macro inc
69
133
70
134
<!-- /.usage -->
71
135
72
-
<!-- Package usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
136
+
<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
73
137
74
138
<section class="notes">
75
139
76
140
</section>
77
141
78
142
<!-- /.notes -->
79
143
80
-
<!-- Package usage examples. -->
144
+
<!-- C API usage examples. -->
81
145
82
146
<section class="examples">
83
147
84
148
</section>
85
149
86
150
<!-- /.examples -->
87
151
152
+
</section>
153
+
154
+
<!-- /.c -->
155
+
88
156
<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
0 commit comments