[Adium-devl] including C code to ObjC?
Graham Booker
gbooker at tamu.edu
Tue Jun 13 15:59:48 UTC 2006
In all honesty, there is not too much need to "convert" it to Obj-C.
Obj-C is a superset of C, which means that it can compile ANSI C code
along with the Obj-C extensions.
Likely the best thing to do is write a wrapper or glue code to bridge
between your library and the rest of Adium. This code will make Obj-
C calls from c functions, and vice-versa. Essentially replacing the
equivalent glue code that you made for gaim.
I think this will minimize your work considerably, unless you really
want to rewrite it.
On Jun 13, 2006, at 10:52 AM, Martti Mela wrote:
> Hello list,
>
> I'm a SIP developer for Sofia-SIP stack (http://sofia-
> sip.sourceforge.net) and late last year I released our first Gaim SIP
> plugin that also supports GStreamer based RTP for audio. After
> switching to MacBook Pro I'd like to build the plugin for Adium, too
> (the plugin works in Gaim+XDarwin).
>
> The thing is I'm new to Objective C and if possible would like to
> start by minimizing the work required to convert the code from C to
> to Objective C, and instead use my Gaim code... How far is this
> possible / wise?
>
> Thanks,
>
> Martti
>
> --
> Martti Mela
> Nokia Research Center
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20060613/201f77a2/attachment.p7s>
More information about the devel
mailing list