word__copy.c 381 B

1234567891011121314151617181920212223242526272829303132
  1. /* FILE
  2. *
  3. * file: word.cpp
  4. *
  5. *
  6. */
  7. /* HEADER THIS FILE */
  8. # include "word__copy.h"
  9. /* INCLUDE
  10. *
  11. * word__copy (struct Word *this, struct Word *word)
  12. *
  13. *
  14. */
  15. /* Word (Word *word) */
  16. void
  17. word__copy (struct Word *this, struct Word *word)
  18. {
  19. /* */
  20. this->value = word->value;
  21. /* */
  22. this->previous = word->previous;
  23. /* */
  24. this->next = word->next;
  25. }