Browse code

tm: add a comment to tm_xdata_swap

Henning Westerholt authored on 09/08/2022 14:15:04
Showing 1 changed files
... ...
@@ -514,6 +514,7 @@ error0:
514 514
  * backup xdata from/to msg context to local var and use T lists
515 515
  * - mode = 0 - from msg context to _txdata and use T lists
516 516
  * - mode = 1 - restore to msg context from _txdata
517
+ * the function can be also used to restore the core context from transacation data
517 518
  */
518 519
 void tm_xdata_swap(tm_cell_t *t, tm_xlinks_t *xd, int mode)
519 520
 {