aboutsummaryrefslogtreecommitdiff
path: root/re2/re2.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2014-01-09 22:16:55 -0500
committerRuss Cox <rsc@swtch.com>2014-01-09 22:16:55 -0500
commit0a4ddd94dbfced0c3ebeb3ac44f9b14a02f5da01 (patch)
tree9f4f249aa5f5007cd4d87c8e007f04cb70ebe212 /re2/re2.h
parent58fd1b302818a261051b172618310ca17755b9f6 (diff)
downloadregex-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/re2/re2.h b/re2/re2.h
index 2774031..1aabcbc 100644
--- a/re2/re2.h
+++ b/re2/re2.h
@@ -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; }