<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Maplelib source</title>
		<link>http://forums.leaflabs.com/topic.php?id=252</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:23:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=252" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "Maplelib source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=252#post-1928</link>
			<pubDate>Fri, 22 Oct 2010 12:23:04 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1928@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;yea the _t is a nuisance to me. the &#34;s&#34; is just to signify &#34;signed&#34; to be symmetrical:  u16 or s16 ... etc.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maplelib source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=252#post-1898</link>
			<pubDate>Thu, 21 Oct 2010 16:32:24 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1898@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Well, I thought uint8, uint16, uint32, etc. were inspired; they get everyone ready for the transition to Go lang ;-)&#60;/p&#62;
&#60;p&#62;What is s16 and vu8?&#60;/p&#62;
&#60;p&#62;When faced with the choice between uint32, u32, uint32_t, and int16, int16_t, i16, ... I'm okay with uint32, int16, etc. Most people recognise them quickly, and it's two characters shorter than the _t versions!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Maplelib source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=252#post-1894</link>
			<pubDate>Thu, 21 Oct 2010 15:43:12 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1894@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;well take a look, thanks! &#60;/p&#62;
&#60;p&#62;We have definitely had bugs before caused by things like:&#60;br /&#62;
#define MY_REG_VALUE   0x12345678&#60;/p&#62;
&#60;p&#62;which should have been&#60;br /&#62;
#define MY_REG_VALUE   (uint32)(0x12345678) &#60;/p&#62;
&#60;p&#62;or using UL notation. Well talk about adding something about this to any coding standards. &#60;/p&#62;
&#60;p&#62;Personally, I wanted to follow the ST convention of having all the types be as:&#60;br /&#62;
u32, u16, s16, vu8, etc - oh well.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maplelib source"</title>
			<link>http://forums.leaflabs.com/topic.php?id=252#post-1835</link>
			<pubDate>Mon, 18 Oct 2010 21:15:04 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1835@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;For giggles, I ran splint across maplelib. &#60;/p&#62;
&#60;p&#62;You might be interested to do the same, just to see the code with 'fresh eyes'.&#60;br /&#62;
Sadly splint doesn't seem to handle asm properly :-(&#60;/p&#62;
&#60;p&#62;There are a couple of things you might want to think about; nothing to worry about, everything I saw were only warnings and appeared to be okay. One thing I'd comment on is using 1UL to get an unsigned 32 bit value. I think both 1U and (unit32)1 work okay and are a bit clearer (to me, anyway).
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
