Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
finishing up partitioning eosiolib
Browse files Browse the repository at this point in the history
  • Loading branch information
larryk85 committed Feb 4, 2019
1 parent 5fcd81b commit a184462
Show file tree
Hide file tree
Showing 61 changed files with 8,629 additions and 103 deletions.
4 changes: 2 additions & 2 deletions libraries/eosiolib/binary_extension.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
* @tparam DataStream - Type of datastream buffer
* @return DataStream& - Reference to the datastream
*/
template<typename DataStream, typename T>
template<typename DataStream>
friend inline DataStream& operator<<(DataStream& ds, const eosio::binary_extension<T>& be) {
ds << be.value_or();
return ds;
Expand All @@ -173,7 +173,7 @@
* @tparam DataStream - Type of datastream buffer
* @return DataStream& - Reference to the datastream
*/
template<typename DataStream, typename T>
template<typename DataStream>
friend inline DataStream& operator>>(DataStream& ds, eosio::binary_extension<T>& be) {
if( ds.remaining() ) {
T val;
Expand Down
3 changes: 1 addition & 2 deletions libraries/eosiolib/capi/eosio/action.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ uint64_t publication_time();
__attribute__((eosio_wasm_import))
capi_name current_receiver();

/// @} action

#ifdef __cplusplus
}
#endif
/// @} action
4 changes: 1 addition & 3 deletions libraries/eosiolib/capi/eosio/chain.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#pragma once

#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -37,8 +36,7 @@ extern "C" {
__attribute__((eosio_wasm_import))
uint32_t get_active_producers( capi_name* producers, uint32_t datalen );

/// @}

#ifdef __cplusplus
}
#endif
/// @}
4 changes: 1 addition & 3 deletions libraries/eosiolib/capi/eosio/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
#pragma once
#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -233,8 +232,7 @@ int recover_key( const capi_checksum256* digest, const char* sig, size_t siglen,
__attribute__((eosio_wasm_import))
void assert_recover_key( const capi_checksum256* digest, const char* sig, size_t siglen, const char* pub, size_t publen );

/// @}

#ifdef __cplusplus
}
#endif
/// @}
4 changes: 1 addition & 3 deletions libraries/eosiolib/capi/eosio/db.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#pragma once

#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -982,8 +981,7 @@ int32_t db_idx_long_double_upperbound(capi_name code, uint64_t scope, capi_name
__attribute__((eosio_wasm_import))
int32_t db_idx_long_double_end(capi_name code, uint64_t scope, capi_name table);

///@}

#ifdef __cplusplus
}
#endif
///@}
4 changes: 1 addition & 3 deletions libraries/eosiolib/capi/eosio/permission.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
#pragma once
#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -80,8 +79,7 @@ int64_t get_permission_last_used( capi_name account, capi_name permission );
__attribute__((eosio_wasm_import))
int64_t get_account_creation_time( capi_name account );

///@}

#ifdef __cplusplus
}
#endif
///@}
4 changes: 1 addition & 3 deletions libraries/eosiolib/capi/eosio/print.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#pragma once

#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -179,8 +178,7 @@ void printn( uint64_t name );
__attribute__((eosio_wasm_import))
void printhex( const void* data, uint32_t datalen );

/// @}

#ifdef __cplusplus
}
#endif
/// @}
1 change: 1 addition & 0 deletions libraries/eosiolib/capi/eosio/privileged.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,4 @@ uint32_t get_blockchain_parameters_packed( char* data, uint32_t datalen );
#ifdef __cplusplus
}
#endif

3 changes: 1 addition & 2 deletions libraries/eosiolib/capi/eosio/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
#pragma once
#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -76,8 +75,8 @@ void eosio_exit( int32_t code );
*/
__attribute__((eosio_wasm_import))
uint64_t current_time();
///@}

#ifdef __cplusplus
}
#endif
///@}
4 changes: 1 addition & 3 deletions libraries/eosiolib/capi/eosio/transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
#pragma once
#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -157,8 +156,7 @@ int get_action( uint32_t type, uint32_t index, char* buff, size_t size );
__attribute__((eosio_wasm_import))
int get_context_free_data( uint32_t index, char* buff, size_t size );

///}@

#ifdef __cplusplus
}
#endif
///}@
Loading

0 comments on commit a184462

Please sign in to comment.