mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Make lots of string pointers const
(#10646)
This allows using string literals without implicitly casting away the `const`.
This commit is contained in:
parent
373809c51b
commit
263b22f374
22 changed files with 39 additions and 40 deletions
|
@ -80,7 +80,7 @@ typedef struct _zend_shared_segment {
|
|||
void *p;
|
||||
} zend_shared_segment;
|
||||
|
||||
typedef int (*create_segments_t)(size_t requested_size, zend_shared_segment ***shared_segments, int *shared_segment_count, char **error_in);
|
||||
typedef int (*create_segments_t)(size_t requested_size, zend_shared_segment ***shared_segments, int *shared_segment_count, const char **error_in);
|
||||
typedef int (*detach_segment_t)(zend_shared_segment *shared_segment);
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue