Dimitar Dobrev
ca2b3a312e
Moved IsSynthetized from Method to Function.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/AST/Method.cs
12 years ago
João Matos
caf645a4fd
Merge pull request #276 from ddobrev/master
...
Fixed some bugs caused by conflicts
12 years ago
Dimitar Dobrev
8438f112e5
Fixed some bugs caused by conflicts.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
4146736222
Merge pull request #275 from ddobrev/master
...
Improved the pass for generating properties
12 years ago
Dimitar Dobrev
4857c8fee3
Improved the pass for generating properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/Generator/Passes/GetterSetterToPropertyAdvancedPass.cs
12 years ago
João Matos
9888895694
Merge pull request #274 from ddobrev/master
...
Added an option to generate a single source file per extension
12 years ago
Dimitar Dobrev
840ce34552
Added an option to generate a single source file per extension.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/Generator/Driver.cs
src/Generator/Options.cs
12 years ago
triton
5a27285f65
Fixed CLI marshaling of in/out parameters under some cases.
...
Closes pull #269 .
12 years ago
Tom Spilman
9159e531f4
Added EnumInOut tests.
12 years ago
João Matos
ec4b91add4
Merge pull request #273 from ddobrev/master
...
Generated methods and variables of base classes of value types
12 years ago
Dimitar Dobrev
f77d394eb1
Generated methods and variables of base classes of value types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
fede2d4c23
Reworked the parser generation driver.
...
Now the path to the headers is not hardcoded and the driver will check if its safe to generate the OSX bindings.
12 years ago
triton
c91899ddf3
Whitespace change.
12 years ago
triton
dc38efcd5b
Removed unused namespace.
12 years ago
triton
8ace8354b5
Re-generated the OSX parser bindings.
12 years ago
triton
e4873e20cc
Fixed anonymous declaration parsing.
12 years ago
João Matos
4291cb7fa3
Merge pull request #272 from ddobrev/master
...
Fixed wrong code generated for indexers in value types
12 years ago
Dimitar Dobrev
e4b860c053
Fixed wrong code generated for indexers in value types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
6310ce6ecc
Merge pull request #271 from ddobrev/def_vals
...
Some refactoring in preparation for the default values of parameters
12 years ago
Dimitar Dobrev
f88c20aa94
Some refactoring in preparation for the default values of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
c01ede7fbd
Merge pull request #208 from ddobrev/master
...
Ignored all pointers to members because they are not currently supported
12 years ago
Dimitar Dobrev
ea0f6e8c56
Ignored all pointers to members because they are not currently (if ever) supported.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
70dfd42e07
Added support for C records to the parser.
12 years ago
triton
7f927db6c8
Renamed ASTContext parameters.
12 years ago
triton
ca6884c19c
Fixed the AST converter for the new macro location name.
12 years ago
triton
f95d013651
Re-generated the parser bindings.
12 years ago
triton
c67e6a5ffb
Fixed naming conflict in Location field in the AST.
12 years ago
João Matos
3d39b62589
Merge pull request #268 from tomspilman/outenum
...
Fixed Out And InOut Enum Parameters
12 years ago
Tom Spilman
ba8c29c1ac
Fixed simple mistake in the EnumOut tests.
12 years ago
Tom Spilman
ba4eedd131
Fixed CLI to support out/inout Enums.
12 years ago
Tom Spilman
2912d6601b
Merge branch 'master' into outenum
12 years ago
João Matos
0406a10517
Merge pull request #267 from tomspilman/inout
...
Fixed Ref Printing
12 years ago
Tom Spilman
ab4440fb14
Fixed in/out for CLI.
12 years ago
Tom Spilman
47e7e68c12
Fixed IsInOut primitives to correctly pass the input value to the native code.
12 years ago
Tom Spilman
f60d267168
This fixes out or in/out enum parameters to generate correctly.
12 years ago
Tom Spilman
5e63406de0
Added tests for out enums.
12 years ago
Tom Spilman
d39ec43431
Whitespace fix.
12 years ago
Tom Spilman
51fa468cfa
Added unit test for in/out for primitive parameters.
12 years ago
Tom Spilman
209aeafe76
Fixed InOut parameter bug where there was no space between the ref and the type.
12 years ago
triton
fd1dc49745
Fixed the build.
12 years ago
triton
43dc88b5de
Added support for representing and parsing source locations.
12 years ago
triton
27fa2ca03d
Renamed Location to MacroLocation in PreprocessedEntity.
...
We'll use the name Location to represent source locations in declarations.
12 years ago
triton
57bae49b4b
Explicitly qualify clang types in the parser.
12 years ago
triton
ed634a76fc
Re-generated the OSX parser bindings.
12 years ago
triton
e53870021d
Fixed type printer changes to work with old parser.
12 years ago
Tomi Valkeinen
3cbf465a49
Update CppParser bindings
...
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
12 years ago
Tomi Valkeinen
018a7b294c
CSharpTypePrinter: use type width to convert C++ types to C# types
...
We need to convert C++ integer types to C# types using the TargetInfo, as the
type bitwidths depend on the target architecture.
This fixes the main 64bit issue, which is that on 64bit Linux the current code
converts C++'s long to System.Int32, instead of System.Int64.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
12 years ago
Tomi Valkeinen
4818d3974d
Pass Driver to CSharpTypePrinter
...
We need Driver.TargeInfo in CSharpTypePrinter so that we can find out the
widths of the integer types.
This patch changes CSharpTypePrinter to get the Driver reference in its
constructor. As all the other constructor parameters can be found from the
Driver reference, we can remove all the other parameters.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
12 years ago
Tomi Valkeinen
7289a06b9e
Rename PrimitiveType Int32 and UInt32 to Int and UInt
...
As enum PrimitiveType is supposed to represent C++ types, having Int32
and UInt32 there is not correct.
This patch renames those values to Int and UInt.
This doesn't change the behavior, but makes it clearer that the types
for 'int' and 'unsigned int' are not necessarily 32 bits.
12 years ago
Tomi Valkeinen
c702e928e8
Rename PrimitiveType Int64 and UInt64 to LongLong and ULongLong
...
As enum PrimitiveType is supposed to represent C++ types, having Int64
and UInt64 there is not correct.
This patch renames those values to LongLong and ULongLong.
This doesn't change the behavior, but makes it clearer that the types
for 'long long' and 'unsigned long long' are not necessarily 64 bits.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
12 years ago