pub unsafe extern "C" fn tidyErrorCodeFromKey(code: ctmbstr) -> uint
Expand description
Given a text key representing a message code, return the uint that represents it.
@remark We establish that for external purposes, the API will ensure that string keys remain consistent. Never count on the integer value of a message code. Always use this function to ensure that the integer is valid if you need one. @param code The string representing the error code. @result Returns an integer that represents the error code, which can be used to lookup Tidy’s built-in strings. If the provided string does not have a matching message code, then UINT_MAX will be returned.