How to make a struct maker like CGRectMake (iphone)
Posted
by Andy Jacobs
on Stack Overflow
See other posts from Stack Overflow
or by Andy Jacobs
Published on 2010-04-21T14:19:57Z
Indexed on
2010/04/21
14:23 UTC
Read the original article
Hit count: 217
i have a struct HLRange with two CGFloat's
struct HOLRange
{
CGFloat min;
CGFloat max;
};
typedef struct HOLRange HOLRange;
but how do i make a function like HLRangeMake(1,2); .. like CGRectMake?
© Stack Overflow or respective owner