lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I'm having trouble figuring out tolua 3.2.  Using the pkg file below, why
isn't valid C code generated?  (Problem seems to be caused by the
"unsigned".)  Secondly, how do I create an instance of my structure from
Lua?

-John


--- test.pkg ---
   $#include "test.h"

   typedef struct {
       int a;
       unsigned int b;
       int c;
   } abc;

   void func( abc* );
------