BufQ.cpp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2016 RWS Inc, All Rights Reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of version 2 of the GNU General Public License as published by
  7. // the Free Software Foundation
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License along
  15. // with this program; if not, write to the Free Software Foundation, Inc.,
  16. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. //
  18. // BufQ.CPP
  19. //
  20. // History:
  21. // 05/24/97 JMI Started.
  22. //
  23. // 05/24/97 JMI Added UnGet().
  24. //
  25. // 08/14/97 MJR Moved everything into this header so it would inline.
  26. //
  27. //////////////////////////////////////////////////////////////////////////////
  28. #include "RSPiX.h"
  29. #include "BufQ.h"
  30. // Nothing to do here. It's all in the header for maximum inlining!
  31. // This was for testing the code efficiency
  32. #if 0
  33. void test(void);
  34. void test(void)
  35. {
  36. CBufQ buf;
  37. U8 val = 0;
  38. buf.Get(&val);
  39. buf.Put(val);
  40. }
  41. #endif
  42. ///////////////////////////////////////////////////////////////////////////////
  43. // EOF
  44. ///////////////////////////////////////////////////////////////////////////////