GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2009-Oct-24

Title: DLL Wrapper code by default is invalid
Post by: MrTAToad on 2009-Oct-24
When creating a DLL, the wrapper code that is (helpfully) created with it is, by default, invalid :

Code (glbasic) Select
// Wrapper DLL
INLINE
}// namespace
#define DLL_NAME "test.dll"
DECLARE_C_ALIAS(dll_a, DLL_NAME, "a", (), DGNat);
namespace __GLBASIC__ {
ENDINLINE


//!
//?
// \return     |

INLINE
return dll_a();
ENDINLINE
ENDFUNCTION
Title: Re: DLL Wrapper code by default is invalid
Post by: Kitty Hello on 2009-Oct-26
Fixed in next version.