GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — JavaScriptKit/Sources/JavaScriptKit/Features.swift at main · wfltaylor/JavaScriptKit

Expand file tree

/

Features.swift

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
18 lines (16 loc) · 516 Bytes
/

Features.swift

Copy path

File metadata and controls

18 lines (16 loc) · 516 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
enum LibraryFeatures {
static let weakRefs: Int32 = 1 << 0
}
@_cdecl("_library_features")
func _library_features() -> Int32 {
var features: Int32 = 0
#if !JAVASCRIPTKIT_WITHOUT_WEAKREFS
features |= LibraryFeatures.weakRefs
#endif
return features
}
#if compiler(>=6.0) && hasFeature(Embedded)
// cdecls currently don't work in embedded, and expose for wasm only works >=6.0
@_expose(wasm, "swjs_library_features")
public func _swjs_library_features() -> Int32 { _library_features() }
#endif
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.