| 951 | */ |
| 952 | |
| 953 | int |
| 954 | xmlCopyChar(int len ATTRIBUTE_UNUSED, xmlChar *out, int val) { |
| 955 | if ((out == NULL) || (val < 0)) return(0); |
| 956 | /* the len parameter is ignored */ |
| 957 | if (val >= 0x80) { |
| 958 | return(xmlCopyCharMultiByte (out, val)); |
| 959 | } |
| 960 | *out = val; |
| 961 | return 1; |
| 962 | } |
| 963 | |
| 964 | /************************************************************************ |
| 965 | * * |
nothing calls this directly
no test coverage detected