Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use consistent header naming scheme #135

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions builtins/web/crypto/crypto-algorithm.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_CRYPTO_ALGORITHM_H
#define JS_COMPUTE_RUNTIME_CRYPTO_ALGORITHM_H
#ifndef BUILTINS_WEB_CRYPTO_CRYPTO_ALGORITHM_H
#define BUILTINS_WEB_CRYPTO_CRYPTO_ALGORITHM_H
#include <span>

#include "builtin.h"
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/crypto/crypto-key-ec-components.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_CRYPTO_KEY_EC_COMPONENTS_H
#define JS_COMPUTE_RUNTIME_CRYPTO_KEY_EC_COMPONENTS_H
#ifndef BUILTINS_WEB_CRYPTO_CRYPTO_KEY_EC_COMPONENTS_H
#define BUILTINS_WEB_CRYPTO_CRYPTO_KEY_EC_COMPONENTS_H
#include <string>
#include <vector>

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/crypto/crypto-key-rsa-components.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_CRYPTO_KEY_RSA_COMPONENTS_H
#define JS_COMPUTE_RUNTIME_CRYPTO_KEY_RSA_COMPONENTS_H
#ifndef BUILTINS_WEB_CRYPTO_CRYPTO_KEY_RSA_COMPONENTS_H
#define BUILTINS_WEB_CRYPTO_CRYPTO_KEY_RSA_COMPONENTS_H
#include <optional>
#include <string>
#include <vector>
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/crypto/crypto-key.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_CRYPTO_KEY_H
#define JS_COMPUTE_RUNTIME_CRYPTO_KEY_H
#ifndef BUILTINS_WEB_CRYPTO_CRYPTO_KEY_H
#define BUILTINS_WEB_CRYPTO_CRYPTO_KEY_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/crypto/crypto.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_BUILTIN_CRYPTO_H
#define JS_COMPUTE_RUNTIME_BUILTIN_CRYPTO_H
#ifndef BUILTINS_WEB_CRYPTO_H
#define BUILTINS_WEB_CRYPTO_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/crypto/json-web-key.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_JSON_WEB_KEY_H
#define JS_COMPUTE_RUNTIME_JSON_WEB_KEY_H
#ifndef BUILTINS_WEB_CRYPTO_JSON_WEB_KEY_H
#define BUILTINS_WEB_CRYPTO_JSON_WEB_KEY_H
#include "jsapi.h"
#include <memory>
#include <optional>
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/crypto/subtle-crypto.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_SUBTLE_CRYPTO_H
#define JS_COMPUTE_RUNTIME_SUBTLE_CRYPTO_H
#ifndef BUILTINS_WEB_CRYPTO_SUBTLE_CRYPTO_H
#define BUILTINS_WEB_CRYPTO_SUBTLE_CRYPTO_H

#include "builtin.h"
#include "crypto-algorithm.h"
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/dom-exception.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_BUILTIN_DOM_EXCEPTION_H
#define JS_COMPUTE_RUNTIME_BUILTIN_DOM_EXCEPTION_H
#ifndef BUILTINS_WEB_BUILTIN_DOM_EXCEPTION_H
#define BUILTINS_WEB_BUILTIN_DOM_EXCEPTION_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/fetch/fetch_event.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BUILTINS_FETCH_EVENT_H
#define BUILTINS_FETCH_EVENT_H
#ifndef BUILTINS_WEB_FETCH_FETCH_EVENT_H
#define BUILTINS_WEB_FETCH_FETCH_EVENT_H

#include "builtin.h"
#include "extension-api.h"
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/fetch/headers.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BUILTINS_HEADERS_H
#define BUILTINS_HEADERS_H
#ifndef BUILTINS_WEB_FETCH_HEADERS_H
#define BUILTINS_WEB_FETCH_HEADERS_H

#include "builtin.h"
#include "host_api.h"
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/fetch/request-response.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BUILTIN_REQUEST_RESPONSE
#define BUILTIN_REQUEST_RESPONSE
#ifndef BUILTINS_WEB_FETCH_REQUEST_RESPONSE
#define BUILTINS_WEB_FETCH_REQUEST_RESPONSE

#include "fetch-errors.h"
#include "headers.h"
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/performance.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_BUILTIN_PERFORMANCE_H
#define JS_COMPUTE_RUNTIME_BUILTIN_PERFORMANCE_H
#ifndef BUILTINS_WEB_BUILTIN_PERFORMANCE_H
#define BUILTINS_WEB_BUILTIN_PERFORMANCE_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/queue-microtask.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_QUEUE_MICROTASK_H
#define JS_COMPUTE_RUNTIME_QUEUE_MICROTASK_H
#ifndef BUILTINS_WEB_QUEUE_MICROTASK_H
#define BUILTINS_WEB_QUEUE_MICROTASK_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/streams/compression-stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_COMPRESSION_STREAM_H
#define JS_COMPUTE_RUNTIME_COMPRESSION_STREAM_H
#ifndef BUILTINS_WEB_STREAMS_COMPRESSION_STREAM_H
#define BUILTINS_WEB_STREAMS_COMPRESSION_STREAM_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/streams/decompression-stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_DECOMPRESSION_STREAM_H
#define JS_COMPUTE_RUNTIME_DECOMPRESSION_STREAM_H
#ifndef BUILTINS_WEB_STREAMS_DECOMPRESSION_STREAM_H
#define BUILTINS_WEB_STREAMS_DECOMPRESSION_STREAM_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/streams/native-stream-sink.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_NATIVE_STREAM_SINK_H
#define JS_COMPUTE_RUNTIME_NATIVE_STREAM_SINK_H
#ifndef BUILTINS_WEB_STREAMS_NATIVE_STREAM_SINK_H
#define BUILTINS_WEB_STREAMS_NATIVE_STREAM_SINK_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/streams/native-stream-source.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_NATIVE_STREAM_SOURCE_H
#define JS_COMPUTE_RUNTIME_NATIVE_STREAM_SOURCE_H
#ifndef BUILTINS_WEB_STREAMS_NATIVE_STREAM_SOURCE_H
#define BUILTINS_WEB_STREAMS_NATIVE_STREAM_SOURCE_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/streams/transform-stream-default-controller.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_TRANSFORM_STREAM_DEFAULT_CONTROLLER_H
#define JS_COMPUTE_RUNTIME_TRANSFORM_STREAM_DEFAULT_CONTROLLER_H
#ifndef BUILTINS_WEB_STREAMS_TRANSFORM_STREAM_DEFAULT_CONTROLLER_H
#define BUILTINS_WEB_STREAMS_TRANSFORM_STREAM_DEFAULT_CONTROLLER_H

#include "builtin.h"

Expand Down
4 changes: 2 additions & 2 deletions builtins/web/streams/transform-stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_TRANSFORM_STREAM_H
#define JS_COMPUTE_RUNTIME_TRANSFORM_STREAM_H
#ifndef BUILTINS_WEB_STREAMS_TRANSFORM_STREAM_H
#define BUILTINS_WEB_STREAMS_TRANSFORM_STREAM_H

#include "builtin.h"
// #include "js-compute-builtins.h"
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/structured-clone.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_STRUCTURED_CLONE_H
#define JS_COMPUTE_RUNTIME_STRUCTURED_CLONE_H
#ifndef BUILTINS_WEB_STRUCTURED_CLONE_H
#define BUILTINS_WEB_STRUCTURED_CLONE_H

#include "builtin.h"
#include "js/StructuredClone.h"
Expand Down
4 changes: 2 additions & 2 deletions builtins/web/worker-location.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef JS_COMPUTE_RUNTIME_WORKER_LOCATION_H
#define JS_COMPUTE_RUNTIME_WORKER_LOCATION_H
#ifndef BUILTINS_WEB_WORKER_LOCATION_H
#define BUILTINS_WEB_WORKER_LOCATION_H

#include "builtin.h"

Expand Down
Loading