|
From: Ujjal B. <ujj...@nx...> - 2006-12-11 05:55:18
|
Hi, this is my first mail to the group.
I am trying to wrap a C header file (headerfile.h) which have a typedef
like this
" typedef void* HANDLE; "
and than in my interface file I am doing something like this, also the
header file (headerfile.h) is included in the interface file.
%{
typedef void* HANDLE;
%}
typedef void* HANDLE;
%inline %{
HANDLE event;
HANDLE* p_event=&event;
%}
Now I am declaring 'p_event' as global in my tcl script and trying to
access the variable. But it says that "Cant read p_event no such
variable" .
Can any body give any pointers where am i going wrong.Is there any other
alternative ?
Regards,
Ujjal
|