Skip to content

Commit

Permalink
Updates on generated files (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers authored Dec 5, 2023
1 parent f1b8644 commit c16088c
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/net/engine/JCOReflectorOptions.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/net/engine/JCObjectReflectorClass.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/net/engine/JCObjectReflectorEnum.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/net/engine/JCObjectReflectorEnumerator.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/net/engine/JCObjectReflectorInterface.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/net/engine/JCObjectReflectorInterfaceClass.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/net/engine/JCObjectReflectorThrowableClass.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/net/engine/JCObjectReflectorVoidDelegateClass.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**************************************************************************************
* <auto-generated>
* This code was generated from a template using JCOReflector
* This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
Expand Down
3 changes: 2 additions & 1 deletion src/net/engine/Reflector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ static void WriteExtraClasses(ReflectorEventArgs args)
var assembyStr = assembyStrSb.ToString();
assembyStr = assembyStr.Substring(0, assembyStr.Length - 2);

var jcoBridgeOptionsContent = jcoBridgeOptionsTemplate.Replace(Const.Options.Assembly_Names_Value, assembyStr)
var jcoBridgeOptionsContent = jcoBridgeOptionsTemplate.Replace(Const.Class.JCOREFLECTOR_VERSION, Const.ReflectorVersion)
.Replace(Const.Options.Assembly_Names_Value, assembyStr)
.Replace(Const.Options.Create_Exception_Thrown_Clause_Value, CreateExceptionThrownClause ? "true" : "false")
.Replace(Const.Options.Exception_Thrown_Clause_Depth_Value, ExceptionThrownClauseDepth.ToString())
.Replace(Const.Options.Enable_Abstract_Value, EnableAbstract ? "true" : "false")
Expand Down

0 comments on commit c16088c

Please sign in to comment.