R
Rudolf Meier
Guest
Hi
I'm currently building an API for a new product. We do have a C/C++ API and inside the header files we have things like "int function(int param1 = 12);" ... now... we have also a Wrapper for .net and ... when I export this the same way, the = 12 gets lost. After importing it, you don't see it (e.g. inside the C# project) ...
... any thought about it? Is it possible to define something like a default parameter? Is this never used "in the .net world"? Do you have other solutions for that? ... or is this just "normal" and I shouldn't care?
Rudolf
Continue reading...
I'm currently building an API for a new product. We do have a C/C++ API and inside the header files we have things like "int function(int param1 = 12);" ... now... we have also a Wrapper for .net and ... when I export this the same way, the = 12 gets lost. After importing it, you don't see it (e.g. inside the C# project) ...
... any thought about it? Is it possible to define something like a default parameter? Is this never used "in the .net world"? Do you have other solutions for that? ... or is this just "normal" and I shouldn't care?
Rudolf
Continue reading...