Does the function tell whether or not the clipboard object has text in it? To me something like al_clipboard_has_text might be better.
From: Allegro-developers [mailto:[email protected]] On Behalf Of Jon Rafkind Sent: August 26, 2015 1:04 PM To: Beoran <[email protected]>; [email protected] Subject: Re: [AD] Started work on minimal clipboard support My reasoning is that 'is' should be used when asking if an object is an instance of a specific type, and 'has' is used when asking if an object has a specific property. Is this bitmap a memory bitmap? Does this bitmap have a parent bitmap? Also re-adding the gna list. The default reply mechanism doesn't seem to be reply-all so it gets left off occasionally. On Wed, Aug 26, 2015 at 11:57 AM, Beoran <[email protected] <mailto:[email protected]> > wrote: Op 26-08-15 20:55, Jon Rafkind schreef: Nitpick: al_is_clipboard_text should be al_has_clipboard_text Yes, I was unsure of that, because sometimes it has to be _is_ and sometimes it has to be _has_ and I wasn't sure which one to use this time. Anyone else prefer _is_, or should I change it to _has_? For me it's all the same. Kind Regards, B.
_______________________________________________ Allegro-developers mailing list [email protected] https://mail.gna.org/listinfo/allegro-developers
