Writing mono bindings - what is pa_operation actually used for?

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

 



'Twas brillig, and Christopher James Halse Rogers at 28/07/09 06:54 did 
gyre and gimble:
> So... what is pa_operation good for?  What will consumers of my bindings
> miss if I simply pa_operation_unref immediately after every call that
> returns a pa_operation?

I'm not super familiar with the reason behind the design, but if you 
look at pavucontrol as an example here you will see that it pretty much 
does this (unref immediately), so I'd say that's a fairly sensible approach.

All the best

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux