mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-10-29 01:27:24 +00:00 
			
		
		
		
	| We currently have three categories of string parameters: `string`, `string[]` and `StringBuilder`. (OpenTK 1.2 adds one more: `ref string`.) Each category needs to be marshaled separately into a native character array. This commit implements the following changes: - string[] epilogues are now correctly emitted, instead of being ignored. - string[] prologues and epilogues now use the same local variable name. - all epilogues are now generated with a single pass over the function parameters, instead of requiring a separate pass for each category. - string prologues and epilogues now allocate local variables based on the relevant parameter *name* rather than the parameter *type*. Fixes issue #144. | ||
|---|---|---|
| .. | ||
| Properties | ||
| Generator.Rewrite.csproj | ||
| Program.cs | ||