Skip to content

Commit

Permalink
Remove references to unused error code
Browse files Browse the repository at this point in the history
Was always just demoted to -1 anyway

If we really care about request numbers > int32 we'll just use int64
  • Loading branch information
OttoAllmendinger committed Nov 12, 2014
1 parent f7cf2a8 commit 926789d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 341 deletions.
76 changes: 0 additions & 76 deletions include/opentxs/client/OTAPI.hpp
Expand Up @@ -1619,8 +1619,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -2402,8 +2400,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -2541,8 +2537,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -2590,8 +2584,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -2609,8 +2601,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -2626,8 +2616,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -2680,8 +2668,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -2722,8 +2708,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -2751,8 +2735,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -2799,8 +2781,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -2839,8 +2819,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -2868,8 +2846,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -2888,8 +2864,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -2906,8 +2880,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -2926,8 +2898,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -2945,8 +2915,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -2965,8 +2933,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -3037,8 +3003,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -3110,8 +3074,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -3149,8 +3111,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -3172,8 +3132,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -3200,8 +3158,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -3284,8 +3240,6 @@ class OTAPI_Wrap

// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -3299,8 +3253,6 @@ class OTAPI_Wrap

// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -3315,8 +3267,6 @@ class OTAPI_Wrap
// from server (pop message buf for the response)
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -3412,8 +3362,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -3457,8 +3405,6 @@ class OTAPI_Wrap
*/
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -3500,8 +3446,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -3547,8 +3491,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -3567,8 +3509,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand All @@ -3585,8 +3525,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down Expand Up @@ -3648,8 +3586,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -3663,8 +3599,6 @@ class OTAPI_Wrap
// maximum depth)
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -3679,8 +3613,6 @@ class OTAPI_Wrap
//! Gets all recent trades (up until maximum depth)
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -3695,8 +3627,6 @@ class OTAPI_Wrap
// Market_GetOffers() call, which seems similar otherwise.
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -3710,8 +3640,6 @@ class OTAPI_Wrap

// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand All @@ -3725,8 +3653,6 @@ class OTAPI_Wrap

// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
// string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
// into an integer...
Expand Down Expand Up @@ -3895,8 +3821,6 @@ class OTAPI_Wrap
//
// Returns int32_t:
// -1 means error; no message was sent.
// -2 means the message was sent, but the request number must be passed as a
string, so call GetLargeRequestNum.
// 0 means NO error, but also: no message was sent.
// >0 means NO error, and the message was sent, and the request number fits
into an integer...
Expand Down

0 comments on commit 926789d

Please sign in to comment.