|
From: | Moritz 'morty' Strübe |
Subject: | [avr-libc-dev] [patch #6352] Far pointer library |
Date: | Thu, 07 Aug 2008 14:20:27 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 |
Follow-up Comment #3, patch #6352 (project avr-libc): Hi there I'd suggest using '"p" (var) ' instead of '"p" (&var)' This allows to define: typedef uint_farptr_t PGM_PF; #define PFSTR(str) ((PGM_PF)GET_FAR_ADDRESS(PSTR(str))) which again makes it easy to create new functions like printf_PF. Just my two cent. Cheers _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?6352> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |