summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/ResourceUtils.h')
-rw-r--r--tools/aapt2/ResourceUtils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/aapt2/ResourceUtils.h b/tools/aapt2/ResourceUtils.h
index 36f6c2bda8f8..f83d49ee5591 100644
--- a/tools/aapt2/ResourceUtils.h
+++ b/tools/aapt2/ResourceUtils.h
@@ -165,6 +165,9 @@ std::unique_ptr<BinaryPrimitive> MakeBool(bool val);
*/
std::unique_ptr<BinaryPrimitive> TryParseInt(const android::StringPiece& str);
+// Returns an integer BinaryPrimitive.
+std::unique_ptr<BinaryPrimitive> MakeInt(uint32_t value);
+
/*
* Returns a BinaryPrimitve object representing a floating point number
* (float, dimension, etc) if the string was parsed as one.