Re: Perl bindings for libaosd: v0.01



On Sat, 2008-03-15 at 16:08 +0100, JÃrn Reder wrote:

compiling the callback stuff results in warnings/errors I do not fully 
understand (compiler messages are quoted inline):

Sorry about that.

  Aosd.xs: In function 'perl_aosd_renderer':
  Aosd.xs:28: warning: passing argument 2 of 'Perl_sv_2mortal' makes pointer from integer without a cast

Use newSVCairo instead of newSVCairoContext.


  Aosd.xs: In function 'XS_X11__Aosd_aosd_set_renderer':
  Aosd.xs:110: error: 'CPerlCallback' undeclared (first use in this function)
  Aosd.xs:110: error: (Each undeclared identifier is reported only once
  Aosd.xs:110: error: for each function it appears in.)
  Aosd.xs:110: error: 'callback' undeclared (first use in this function)

Make it GPerlCallback.  It's defined in Glib's header gperl.h.

-- 
Bye,
-Torsten




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