summaryrefslogtreecommitdiff
path: root/core/SCsub
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2020-10-15 12:29:59 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-10-18 12:28:44 +0200
commitee06a70ea6ac51aa451d55c92b807346458822d7 (patch)
tree94ea8f231fa2590e37a84fe8cefe93965e8328fc /core/SCsub
parent5b6a22e275ef8d8e2ad3b1e8074af4b30c076c27 (diff)
Refactor MethodBind to use variadic templates
Removed make_binders and the old style generated binders.
Diffstat (limited to 'core/SCsub')
-rw-r--r--core/SCsub22
1 files changed, 3 insertions, 19 deletions
diff --git a/core/SCsub b/core/SCsub
index 59fe63b4b3..b9f06d12ae 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -3,7 +3,6 @@
Import("env")
import core_builders
-import make_binders
env.core_sources = []
@@ -87,11 +86,7 @@ if env["builtin_zlib"]:
# Minizip library, could be unbundled in theory
# However, our version has some custom modifications, so it won't compile with the system one
thirdparty_minizip_dir = "#thirdparty/minizip/"
-thirdparty_minizip_sources = [
- "ioapi.c",
- "unzip.c",
- "zip.c",
-]
+thirdparty_minizip_sources = ["ioapi.c", "unzip.c", "zip.c"]
thirdparty_minizip_sources = [thirdparty_minizip_dir + file for file in thirdparty_minizip_sources]
env_thirdparty.add_source_files(env.core_sources, thirdparty_minizip_sources)
@@ -152,27 +147,16 @@ env.CommandNoCache(
env.Run(core_builders.make_certs_header, "Building ca-certificates header."),
)
-# Make binders
-env.CommandNoCache(
- ["method_bind.gen.inc", "method_bind_ext.gen.inc", "method_bind_free_func.gen.inc"],
- "make_binders.py",
- env.Run(make_binders.run, "Generating method binders."),
-)
-
# Authors
env.Depends("#core/authors.gen.h", "../AUTHORS.md")
env.CommandNoCache(
- "#core/authors.gen.h",
- "../AUTHORS.md",
- env.Run(core_builders.make_authors_header, "Generating authors header."),
+ "#core/authors.gen.h", "../AUTHORS.md", env.Run(core_builders.make_authors_header, "Generating authors header.")
)
# Donors
env.Depends("#core/donors.gen.h", "../DONORS.md")
env.CommandNoCache(
- "#core/donors.gen.h",
- "../DONORS.md",
- env.Run(core_builders.make_donors_header, "Generating donors header."),
+ "#core/donors.gen.h", "../DONORS.md", env.Run(core_builders.make_donors_header, "Generating donors header.")
)
# License