This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Merged
Conversation
arhag
suggested changes
Feb 5, 2019
arhag
reviewed
Feb 7, 2019
arhag
reviewed
Feb 7, 2019
arhag
suggested changes
Feb 7, 2019
arhag
approved these changes
Feb 7, 2019
arhag
approved these changes
Feb 7, 2019
rise-worlds
pushed a commit
to potato-coin/eosio.cdt
that referenced
this pull request
Jul 14, 2020
Partition libs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The PR partitions eosiolib into Core, Contracts and CAPI. To ensure backwards compatibility, the whole of eosiolib is still accessible from
#include <eosiolib/header_file.h/hpp>. If you include one of these header files you will be given a warning stating that that particular header file is deprecated and what to replace it with. For the header files in CAPI, an additional message is given stating that these will no longer be accessible from a C++ smart contract after v1.7.0. All uses of the CAPI in the C++ API are namespaced withinternal_use_do_not_usethis should be a very clear indicator to users that the CAPI should not be accessed. Furthermore, only certain groups of header files are accessible given particular compilation modes. The CAPI is only accessible now througheosio-cc, the Contracts API will only be available toeosio-cppcompiling for EOSIOsmart contractsand Core API is available to any "target",eosio-cppin native mode, i.e. unit tests, will have access to all current and future API groups. Going forward instead of#include <eosiolib/header.hpp>, the pattern will be#include <eosio/header.hpp>, this is the same for the native tester, which will now be#include <eosio/tester.hpp>instead of#include <eosio/native/tester.hpp>.Division of APIs
CAPI
action.hchain.hcrypto.hdb.hpermission.hprint.hprivileged.hsystem.htransaction.htypes.hCore
asset.hppbinary_extension.hppcrypto.hppdatastream.hppfixed_bytes.hppignore.hppname.hppprint.hpprope.hppserialize.hppsymbol.hppsystem.hpptime.hppvarint.hppContracts
action.hppcontract.hppdispatcher.hppeosio.hppmulti_index.hpppermission.hppprivileged.hppproducer_schedule.hppsingleton.hpptransaction.hpp