/[dtapublic]/projs/trunk/shared_source/c_datd/esrg_win_int64.h
ViewVC logotype

Contents of /projs/trunk/shared_source/c_datd/esrg_win_int64.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 71 - (show annotations) (download)
Sat Nov 5 11:07:06 2016 UTC (8 years, 1 month ago) by dashley
File MIME type: text/plain
File size: 3082 byte(s)
Set EOL properties appropriately to facilitate simultaneous Linux and Windows development.
1 //$Header$
2 //-------------------------------------------------------------------------------------------------
3 //This file is part of "David T. Ashley's Shared Source Code", a set of shared components
4 //integrated into many of David T. Ashley's projects.
5 //-------------------------------------------------------------------------------------------------
6 //This source code and any program in which it is compiled/used is provided under the MIT License,
7 //reproduced below.
8 //-------------------------------------------------------------------------------------------------
9 //Permission is hereby granted, free of charge, to any person obtaining a copy of
10 //this software and associated documentation files(the "Software"), to deal in the
11 //Software without restriction, including without limitation the rights to use,
12 //copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the
13 //Software, and to permit persons to whom the Software is furnished to do so,
14 //subject to the following conditions :
15 //
16 //The above copyright notice and this permission notice shall be included in all
17 //copies or substantial portions of the Software.
18 //
19 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
22 //AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 //LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24 //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25 //SOFTWARE.
26 //-------------------------------------------------------------------------------------------------
27 #ifndef ESRG_WIN_INT64_H_INCLUDED
28 #define ESRG_WIN_INT64_H_INCLUDED
29
30 #ifdef MODULE_ESRG_WIN_INT64
31 #define DECMOD_ESRG_WIN_INT64
32 #else
33 #define DECMOD_ESRG_WIN_INT64 extern
34 #endif
35
36 //Type definitions of the unsigned and signed 64-bit integers
37 //manipulated by this module.
38 typedef unsigned __int64 ESRG_WIN_INT64_UI64;
39 typedef __int64 ESRG_WIN_INT64_SI64;
40
41 //Converts from a string to an unsigned 64-bit int. The
42 //only allowed representation of 0 is "0". No commas are
43 //allowed. No leading 0's are allowed except for the
44 //canonical representation of 0. No leading or trailing
45 //whitespace is allowed. In case of error, the error flag
46 //is set non-zero and the return result is 0. No pointer
47 //parameters may be NULL.
48
49 DECMOD_ESRG_WIN_INT64 void ESRG_WIN_INT64_StringPlainToUi
50 (
51 const char *s,
52 ESRG_WIN_INT64_UI64 *rv,
53 int *err
54 );
55
56 DECMOD_ESRG_WIN_INT64 const char *ESRG_WIN_INT64_cvcinfo(void);
57 DECMOD_ESRG_WIN_INT64 const char *ESRG_WIN_INT64_hvcinfo(void);
58 #define ESRG_WIN_INT64_H_VERSION ("$Header$")
59
60 #endif
61
62 //End of esrg_win_int64.c.

Properties

Name Value
svn:eol-style native
svn:keywords Header

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25