diff options
author | Russ Cox <rsc@swtch.com> | 2014-01-09 22:16:55 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2014-01-09 22:16:55 -0500 |
commit | 0a4ddd94dbfced0c3ebeb3ac44f9b14a02f5da01 (patch) | |
tree | 9f4f249aa5f5007cd4d87c8e007f04cb70ebe212 /re2/re2.h | |
parent | 58fd1b302818a261051b172618310ca17755b9f6 (diff) | |
download | regex-re2-0a4ddd94dbfced0c3ebeb3ac44f9b14a02f5da01.tar.gz |
re2: use int64 for max_mem methods
Fixes issue 55.
Fixes issue 75.
Fixes issue 80.
R=rsc
CC=re2-dev
https://codereview.appspot.com/50360043
Diffstat (limited to 're2/re2.h')
-rw-r--r-- | re2/re2.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -604,8 +604,8 @@ class RE2 { bool log_errors() const { return log_errors_; } void set_log_errors(bool b) { log_errors_ = b; } - int max_mem() const { return max_mem_; } - void set_max_mem(int m) { max_mem_ = m; } + int64_t max_mem() const { return max_mem_; } + void set_max_mem(int64_t m) { max_mem_ = m; } bool literal() const { return literal_; } void set_literal(bool b) { literal_ = b; } |