This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
spec:om-apis [2012/01/25 14:46] – created TabAtkins | spec:om-apis [2012/01/26 16:05] – tabatkins | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Use Strings, not Numeric Constants ===== | ===== Use Strings, not Numeric Constants ===== | ||
- | When an API needs to take or return an enumerated value, many older APIs follow the C convention and use numeric constants, stored on some interface object. | + | When an API needs to take or return an enumerated value, many older APIs follow the C convention and use numeric constants, stored on some interface object. |
An anti-example can be found in CSSTransformValue, | An anti-example can be found in CSSTransformValue, |