-
Does CppSharp support `out` parameters in functions? How do you write a function signature to get it to generate a parameter as `out` and not just a pointer?
-
There's a nasty 64 bit issue in the Parser (both new and old). C's "long" is 32 bits on 32 bit machine, but 64 bits on 64 bit machine. But the parser always sets it to 32 bits. I made the following ha…
tomba updated
10 years ago
-
I am testing the usage of the library (CppSharp_VS2012_423_artifacts.zip) with a simple project in VS2012.
I have the following three projects based on some test projects you have in the repository:
N…
-
The docs say:
4.Run CMake in \deps\llvm and compile solution in RelWithDebInfo mode
which results in the .lib files being put in "deps\llvm\RelWithDebInfo" , but the CppSharp project is looking in "d…
-
It would be nice for CppSharp to generate C# finalizers for all wrapped objects. I currently work around this by adding them to a separate source file as a partial class implementation:
```
publ…
-
I noticed this in one of our wrapped functions:
```
protected Effect(string name)
{
var arg0 = Marshal.StringToHGlobalAnsi(name);
__Instance = Marshal.AllocHGl…
-
So when trying to wrap a 64bit DLL the generator made the wrapper like this:
```
[StructLayout(LayoutKind.Explicit, Size = 4)]
public struct Internal
{
...
…
-
一个.h文件DllDemo.h
# ifdef DllDemo_EXPORTS
# define DllAPI __declspec(dllexport)
# else
# define DllAPI __declspec(dllimport)
extern "C" //原样编译
{
DllAPI int __stdcall Max(int a,int b); //__stdcall…
-
Because CppSharp requires a trunk version of llvm it would be nice to keep the an up to date known-good revision number in the version getting started docs.
-
When trying to generate both CLI and C# wrappers I receive many errors for a couple of projects. So I am trying to figure out if I am doing something wrong here. The errors I seem to be receiving are:…