Skip to content

Commit a21770d

Browse files
committed
Auto-generated commit
1 parent f107025 commit a21770d

File tree

5 files changed

+121
-3
lines changed

5 files changed

+121
-3
lines changed

.github/.keepalive

-1
This file was deleted.

README.md

+55-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Number of Bytes
21+
# COMPLEX64_NUM_BYTES
2222

2323
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
2424

@@ -82,6 +82,60 @@ console.log( COMPLEX64_NUM_BYTES );
8282

8383
<!-- /.examples -->
8484

85+
<!-- C interface documentation. -->
86+
87+
* * *
88+
89+
<section class="c">
90+
91+
## C APIs
92+
93+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
94+
95+
<section class="intro">
96+
97+
</section>
98+
99+
<!-- /.intro -->
100+
101+
<!-- C usage documentation. -->
102+
103+
<section class="usage">
104+
105+
### Usage
106+
107+
```c
108+
#include "stdlib/constants/complex64/num_bytes.h"
109+
```
110+
111+
#### STDLIB_CONSTANT_COMPLEX64_NUM_BYTES
112+
113+
Macro for the size (in bytes) of a 64-bit complex number.
114+
115+
</section>
116+
117+
<!-- /.usage -->
118+
119+
<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
120+
121+
<section class="notes">
122+
123+
</section>
124+
125+
<!-- /.notes -->
126+
127+
<!-- C API usage examples. -->
128+
129+
<section class="examples">
130+
131+
</section>
132+
133+
<!-- /.examples -->
134+
135+
</section>
136+
137+
<!-- /.c -->
138+
85139
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
86140

87141
<section class="related">
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2022 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
#ifndef STDLIB_CONSTANTS_COMPLEX64_NUM_BYTES_H
20+
#define STDLIB_CONSTANTS_COMPLEX64_NUM_BYTES_H
21+
22+
/**
23+
* Macro for the size (in bytes) of a 64-bit complex number.
24+
*/
25+
#define STDLIB_CONSTANT_COMPLEX64_NUM_BYTES 8
26+
27+
#endif // !STDLIB_CONSTANTS_COMPLEX64_NUM_BYTES_H

manifest.json

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"options": {},
3+
"fields": [
4+
{
5+
"field": "src",
6+
"resolve": true,
7+
"relative": true
8+
},
9+
{
10+
"field": "include",
11+
"resolve": true,
12+
"relative": true
13+
},
14+
{
15+
"field": "libraries",
16+
"resolve": false,
17+
"relative": false
18+
},
19+
{
20+
"field": "libpath",
21+
"resolve": true,
22+
"relative": false
23+
}
24+
],
25+
"confs": [
26+
{
27+
"src": [],
28+
"include": [
29+
"./include"
30+
],
31+
"libraries": [],
32+
"libpath": [],
33+
"dependencies": []
34+
}
35+
]
36+
}

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
"bugs": {
3535
"url": "https://github.com/stdlib-js/stdlib/issues"
3636
},
37-
"dependencies": {},
37+
"dependencies": {
38+
"@stdlib/utils-library-manifest": "^0.0.x"
39+
},
3840
"devDependencies": {
3941
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
4042
"istanbul": "^0.4.1",

0 commit comments

Comments
 (0)