Opentk/Source/Generator.Rewrite
thefiddler c32bf4ec5d [Rewrite] Refactored string prologue/epilogues
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.
2014-07-07 13:16:17 +02:00
..
Properties Split binaries for library and supporting tools 2013-12-05 18:43:47 +01:00
Generator.Rewrite.csproj [Build] Added -debug to Rewrite commandline parameters 2014-02-25 01:08:53 +01:00
Program.cs [Rewrite] Refactored string prologue/epilogues 2014-07-07 13:16:17 +02:00