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


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/csetjmp

    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 <setjmp.h>
     38    }
     39}
     40
    3441namespace std
    3542{
    36 
    37 extern "C" {
    38 #include <setjmp.h>
     43    using std::hel::jmp_buf;
     44    using std::hel::longjmp;
    3945}
    4046
    41 }
     47using std::hel::jmp_buf;
     48using std::hel::longjmp;
    4249
    4350#endif
Note: See TracChangeset for help on using the changeset viewer.