[Gambas-devel] create component

Laurent Carlier lordheavy at ...141...
Tue Dec 28 22:30:33 CET 2004


Le Mardi 28 Décembre 2004 21:42, Frank Berg a écrit :
> >in main.c :
> >missing NULL :
> >
> >GB_DESC *GB_CLASSES[] =
> >{
> >  AX25Desc,
> >  NULL
> >};
> >
> >Laurent Carlier
>
> _________________________
>
> hi,
> i was read it in manual and was try this out,
> but with NULL i become an error while comiling this,
> therfor i was drop it again,
>
> frank

Replace NULL with 0 (zero) :)

An issue perhaps too in ax25.c :

GB_DESC AX25Desc[] =
{ 
  GB_DECLARE("ax25",0), 
  GB_METHOD("ConfigLoadPorts","i",AX25_ConfigLoadPorts,""),
  GB_END_DECLARE
};

missing GB_NOT_CREATABLE() or other things. (see doc howto make component)

Reg ards,

-- 

Laurent Carlier




More information about the Devel mailing list