We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4931158 commit 60e2c5bCopy full SHA for 60e2c5b
mlir/include/mlir-c/Support.h
@@ -38,7 +38,8 @@ typedef struct MlirStringRef MlirStringRef;
38
/** Constructs a string reference from the pointer and length. The pointer need
39
* not reference to a null-terminated string.
40
*/
41
-inline MlirStringRef mlirStringRefCreate(const char *str, size_t length) {
+inline static MlirStringRef mlirStringRefCreate(const char *str,
42
+ size_t length) {
43
MlirStringRef result;
44
result.data = str;
45
result.length = length;
0 commit comments