#165: size_t conversion
-------------------------+--------------------------------------------------
Reporter: roadrunn | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: API | Version: 1.2.4
Keywords: | Blocking:
Blockedby: |
-------------------------+--------------------------------------------------
Comment(by bagder):
I would like the patch to start with introducing something like a define
that we can alter. Like where 'int' is used but 'size_t' is prefered we do
#if 1 /* like today
#define INT2SIZE_T int
#else
#define INT2SIZE_T size_t
#endif
... and then we update the public definitions and prototypes to use this
define for all those ints. This then makes it very easy for us to do test-
builds with the refined API vs the old API.
Also, by using a unique define name, we can eventually just do a search &
replace for it and get the new type properly once we've taken that step.
-- Ticket URL: <http://libssh2.stuge.se/ticket/165#comment:2> libssh2 <http://libssh2.stuge.se/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-04-15