@@ -52,9 +52,6 @@ namespace eosio {
52
52
53
53
__attribute__ ((eosio_wasm_import))
54
54
uint64_t current_receiver();
55
-
56
- __attribute__ ((eosio_wasm_import))
57
- void set_action_return_value(char *return_value, size_t size);
58
55
}
59
56
};
60
57
@@ -153,18 +150,6 @@ namespace eosio {
153
150
return name{internal_use_do_not_use::current_receiver ()};
154
151
}
155
152
156
- /* *
157
- * Set the action return value which will be included in action_receipt
158
- * @ingroup action
159
- * @tparam T type of return value
160
- * @param v the return value to set
161
- */
162
- template <typename T>
163
- inline void set_action_return_value ( const T& v ) {
164
- auto packed_value = pack ( v );
165
- internal_use_do_not_use::set_action_return_value ( &packed_value[0 ], packed_value.size () );
166
- }
167
-
168
153
/* *
169
154
* Copy up to length bytes of current action data to the specified location
170
155
*
@@ -448,9 +433,9 @@ namespace eosio {
448
433
}
449
434
450
435
/* *
451
- * Wrapper for an action object.
436
+ * Wrapper for an action object.
452
437
*
453
- * @brief Used to wrap an a particular action to simplify the process of other contracts sending inline actions to "wrapped" action.
438
+ * @brief Used to wrap an a particular action to simplify the process of other contracts sending inline actions to "wrapped" action.
454
439
* Example:
455
440
* @code
456
441
* // defined by contract writer of the actions
@@ -591,23 +576,23 @@ INLINE_ACTION_SENDER3( CONTRACT_CLASS, NAME, ::eosio::name(#NAME) )
591
576
* Send an inline-action from inside a contract.
592
577
*
593
578
* @brief A macro to simplify calling inline actions
594
- * @details The send inline action macro is intended to simplify the process of calling inline actions. When calling new actions from existing actions
579
+ * @details The send inline action macro is intended to simplify the process of calling inline actions. When calling new actions from existing actions
595
580
* EOSIO supports two communication models, inline and deferred. Inline actions are executed as part of the current transaction. This macro
596
581
* creates an @ref action using the supplied parameters and automatically calls action.send() on this newly created action.
597
582
*
598
583
* Example:
599
584
* @code
600
585
* SEND_INLINE_ACTION( *this, transfer, {st.issuer,N(active)}, {st.issuer, to, quantity, memo} );
601
586
* @endcode
602
- *
603
- * The example above is taken from eosio.token.
604
- * This example:
605
- * uses the passed in, dereferenced `this` pointer, to call this.get_self() i.e. the eosio.token contract;
606
- * calls the eosio.token::transfer() action;
587
+ *
588
+ * The example above is taken from eosio.token.
589
+ * This example:
590
+ * uses the passed in, dereferenced `this` pointer, to call this.get_self() i.e. the eosio.token contract;
591
+ * calls the eosio.token::transfer() action;
607
592
* uses the active permission of the "issuer" account;
608
- * uses parameters st.issuer, to, quantity and memo.
593
+ * uses parameters st.issuer, to, quantity and memo.
609
594
* This macro creates an action struct used to 'send()' (call) transfer(account_name from, account_name to, asset quantity, string memo)
610
- *
595
+ *
611
596
* @param CONTRACT - The contract to call, which contains the action being sent, maps to the @ref account
612
597
* @param NAME - The name of the action to be called, maps to a @ref name
613
598
* @param ... - The authorising permission, maps to an @ref authorization , followed by the parameters of the action, maps to a @ref data.
0 commit comments