OSSP CVS Repository

ossp - Check-in [586]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 586
Date: 2001-Aug-01 11:43:53 (local)
2001-Aug-01 09:43:53 (UTC)
User:simons
Branch:callback-semantic-rewrite
Comment: - Use new callback semantics in declare_formatting_engine(). - Undefine the macro after all callbacks are declared.
Tickets:
Inspections:
Files:
ossp-pkg/xds/xds.h.in      1.6.2.1 -> 1.6.2.2     3 inserted, 1 deleted

ossp-pkg/xds/xds.h.in 1.6.2.1 -> 1.6.2.2

--- xds.h.in     2001/08/01 09:36:08     1.6.2.1
+++ xds.h.in     2001/08/01 09:43:53     1.6.2.2
@@ -83,7 +83,7 @@
 
 #define declare_formatting_engine(x) \
     int x(xds_t* xds, void* engine_context, \
-          void* buffer, size_t buffer_size, /* size_t* used_buffer_size, */ \
+          void* buffer, size_t buffer_size, size_t* used_buffer_size, \
           va_list* args)
 
 declare_formatting_engine(xdr_encode_uint32);
@@ -120,4 +120,6 @@
 declare_formatting_engine(xml_encode_string);
 declare_formatting_engine(xml_decode_string);
 
+#undef declare_formatting_engine
+
 #endif /* !defined(__LIBXDS_H__) */

CVSTrac 2.0.1