Changeset de53138 in mainline for uspace/lib/cpp/include/cctype


Ignore:
Timestamp:
2018-07-05T21:41:21Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c71c171
Parents:
6d8a63a
git-author:
Dzejrou <dzejrou@…> (2018-04-20 00:11:54)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:21)
Message:

cpp: revamped c header wrappers, now only include standard symbols, others are in std::hel, fixed some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/cctype

    r6d8a63a rde53138  
    11/*
    2  * Copyright (c) 2017 Jaroslav Jindrak
     2 * Copyright (c) 2018 Jaroslav Jindrak
    33 * All rights reserved.
    44 *
     
    3232#include "internal/common.hpp"
    3333
     34namespace std::hel
     35{
     36    extern "C" {
     37        #include <ctype.h>
     38    }
     39}
     40
    3441namespace std
    3542{
    36 
    37 extern "C" {
    38 #include <ctype.h>
    39 }
    40 
     43    using std::hel::isalnum;
     44    using std::hel::isalpha;
     45    using std::hel::islower;
     46    using std::hel::isupper;
     47    using std::hel::isdigit;
     48    /* using std::hel::isxdigit; */
     49    /* using std::hel::iscntrl; */
     50    /* using std::hel::isgraph; */
     51    using std::hel::isspace;
     52    /* using std::hel::isblank; */
     53    /* using std::hel::isprint; */
     54    /* using std::hel::ispunct; */
     55    using std::hel::tolower;
     56    using std::hel::toupper;
    4157}
    4258
Note: See TracChangeset for help on using the changeset viewer.