cURL / Mailing Lists / curl-library / Single Mail

curl-library

[off-topic] @|!?#=%""/ C preprocessor or @|!?#=%""/ me

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 11 Aug 2008 20:55:45 +0200

Hi,

The above @|!?=%""/ can be replaced with whatever you want ;-)

I seem to be running out of gas on this one. So if someone knows how
to do this or if it certainly is impossible to achieve I would
appreciate any comments.

#define CURL_SUFFIX_CURL_OFF_T LL

#define CURL_OFF_T_C(V) V ## CURL_SUFFIX_CURL_OFF_T

Given the above, which certainly does not give the result that I want,
lets say that I would like to use something like:

CURL_OFF_T_C(0x500)

And that it expanded to: 0x500LL

Is it possible or should I just forget this ?

Note: CURL_SUFFIX_CURL_OFF_T might be defined to whatever the
configure process finds appropriate.

-- 
-=[Yang]=-
Received on 2008-08-11