File tree Expand file tree Collapse file tree 11 files changed +0
-112
lines changed
Expand file tree Collapse file tree 11 files changed +0
-112
lines changed Original file line number Diff line number Diff line change 11// swift-tools-version:4.2
2- /******************************************************************************
3- * *
4- * Tris Foundation disclaims copyright to this source code. *
5- * In place of a legal notice, here is a blessing: *
6- * *
7- * May you do good and not evil. *
8- * May you find forgiveness for yourself and forgive others. *
9- * May you share freely, never taking more than you give. *
10- * *
11- ******************************************************************************/
12-
132import PackageDescription
143
154let package = Package (
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122#ifndef __JAVASCRIPTCORE_H__
133#define __JAVASCRIPTCORE_H__
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122module CJavaScriptCore [system] {
133 header "include.h"
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
11-
121public protocol JSEngine {
132 associatedtype JSRuntime : JavaScript . JSRuntime
143 static func createRuntime( ) throws -> JSRuntime
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122#if os(Linux)
133import CJavaScriptCore
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122#if os(Linux)
133import CJavaScriptCore
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122#if os(Linux)
133import CJavaScriptCore
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122#if os(Linux)
133import CJavaScriptCore
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122#if os(Linux)
133import CJavaScriptCore
Original file line number Diff line number Diff line change 1- /******************************************************************************
2- * *
3- * Tris Foundation disclaims copyright to this source code. *
4- * In place of a legal notice, here is a blessing: *
5- * *
6- * May you do good and not evil. *
7- * May you find forgiveness for yourself and forgive others. *
8- * May you share freely, never taking more than you give. *
9- * *
10- ******************************************************************************/
111
122import Test
133@testable import JavaScriptCoreSwift
You can’t perform that action at this time.
0 commit comments