Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ef9d0988 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:17Z (2 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
master
Children:
858a51f
Parents:
1b6477e
git-author:
Jaroslav Jindrak <dzejrou@…> (2017-10-11 20:11:12)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:17)
Message:

cpp: added stubs for dynamic_cast and level 1 unwinding

Location:
uspace/lib/cpp
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/internal/abi.hpp

    r1b6477e ref9d0988  
    144144    };
    145145
     146    extern "C" void* __dynamic_cast(const void*, const __class_type_info*,
     147                                    const __class_type_info*, std::ptrdiff_t);
    146148}
    147149
  • uspace/lib/cpp/src/internal/runtime.cpp

    r1b6477e ref9d0988  
    6868    __pointer_to_member_type_info::~__pointer_to_member_type_info()
    6969    { /* DUMMY BODY */ }
     70
     71    extern "C" void* __dynamic_cast(const void* sub, const __class_type_info* src,
     72                                    const __class_type_info* dst, std::ptrdiff_t offset)
     73    {
     74        // TODO: implement
     75        return nullptr;
     76    }
    7077}
Note: See TracChangeset for help on using the changeset viewer.