Factor out readrune and writerune
This commit is contained in:
6
utf.h
6
utf.h
@@ -18,8 +18,7 @@
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
typedef int Rune;
|
||||
|
||||
@@ -49,3 +48,6 @@ int isspacerune(Rune);
|
||||
int istitlerune(Rune);
|
||||
int isupperrune(Rune);
|
||||
int isdigitrune(Rune);
|
||||
|
||||
int readrune(const char *, FILE *, Rune *);
|
||||
void writerune(Rune *);
|
||||
|
Reference in New Issue
Block a user