From 441a97709757ec1b6edcaadb733941e64af8fb60 Mon Sep 17 00:00:00 2001 From: Jan Vorlicek Date: Wed, 15 Jul 2015 23:08:09 +0200 Subject: Extend the Unix hosting API This change modifies the Unix hosting API so that the hosting app can create as many managed delegates as it needs and execute them as many times it wants. The new API contains separate functions to initialize and shutdown CoreCLR and a function to create a delegate. The current ExecuteAssembly function behavior stays unmodified for now to ensure that dnx that uses that API and that pulls the binary libcoreclr is not broken. After the dnx is updated to use the new coreclr_create_delegate API, I'll remove the ExecuteAssembly. Also done: 1) Added support for comments and skipping empty lines in the mscorwks_unixexports.src. 2) Restructured the mscorwks_unixexports.src 3) Added coreclr_execute_assembly to the unixinterface.cpp / exports 4) Modified coreruncommon.cpp to use the new hosting API --- generateversionscript.awk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'generateversionscript.awk') diff --git a/generateversionscript.awk b/generateversionscript.awk index 2aa1f4f0a2..d1c294be58 100644 --- a/generateversionscript.awk +++ b/generateversionscript.awk @@ -6,7 +6,12 @@ BEGIN { # Remove the CR character in case the sources are mapped from # a Windows share and contain CRLF line endings gsub(/\r/,"", $0); - print " " $0 ";"; + + # Skip empty lines and comment lines starting with semicolon + if (NF && !match($0, /^[:space:]*;/)) + { + print " " $0 ";"; + } } END { print " local: *;" -- cgit v1.2.3