]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/engine/jam_strings.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / src / engine / jam_strings.h
index f47db10af78a2f955fc35b7eb868749f5d85382e..9f7fd43f04545260f012a9f57bb39d5004dd5cb2 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * Copyright 2004. David Abrahams
  * Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or copy at
- * http://www.boost.org/LICENSE_1_0.txt)
+ * (See accompanying file LICENSE.txt or copy at
+ * https://www.bfgroup.xyz/b2/LICENSE.txt)
  */
 
 #ifndef JAM_STRINGS_DWA20011024_H
@@ -14,8 +14,8 @@
 typedef struct string
 {
     char * value;
-    unsigned long size;
-    unsigned long capacity;
+    int32_t size;
+    int32_t capacity;
     char opt[ 32 ];
 #ifndef NDEBUG
     char magic[ 4 ];
@@ -28,8 +28,8 @@ void string_free( string * );
 void string_append( string *, char const * );
 void string_append_range( string *, char const *, char const * );
 void string_push_back( string * s, char x );
-void string_reserve( string *, size_t );
-void string_truncate( string *, size_t );
+void string_reserve( string *, int32_t );
+void string_truncate( string *, int32_t );
 void string_pop_back( string * );
 char string_back( string * );
 void string_rtrim( string * );