I tracked down that build error I've mentioned a few times with the
new graphics device code -- it's an R 2.7 vs. R 2.8 compatibility bug.
In 2.8, pDevDesc is (DevDesc *), but in 2.7 it's (NewDevDesc *), and
so trying to malloc a DevDesc doesn't work in 2.7, you need to malloc
a NewDevDesc instead.

I'm not really sure how well the python device stuff is expected to
work right now, or indeed what use its intended to have. However, with
the attached patch, it at least builds against both 2.7 and 2.8, and
doesn't introduce any new test failures (or #ifdefs).

I think this is the last patch needed to make tip really usable for me
(for now). Unless you'd be willing to take de-tab-ification patchs,
since my editor is set up to hate them (a la
http://www.jwz.org/doc/tabs-vs-spaces.html) and it's a bit of a pain
to always preserve all the tabs in the C files :-).

-- Nathaniel

Attachment: NEW_rpy_device_on_2.7
Description: Binary data

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to