Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
11 lines (10 loc) · 495 Bytes

File metadata and controls

11 lines (10 loc) · 495 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
import _CJavaScriptKit
/// Note:
/// Define all runtime function stubs which are imported from JavaScript environment.
/// SwiftPM doesn't support WebAssembly target yet, so we need to define them to
/// avoid link failure.
/// When running with JavaScript runtime library, they are ignored completely.
#if !arch(wasm32)
func _i64_to_bigint(_: Int64, _: Bool) -> JavaScriptObjectRef { fatalError() }
func _bigint_to_i64(_: JavaScriptObjectRef, _: Bool) -> Int64 { fatalError() }
#endif
Morty Proxy This is a proxified and sanitized view of the page, visit original site.