Method CreateConstantString
CreateConstantString(String)
Create a constant data string value
Declaration
public ConstantDataArray CreateConstantString(string value)
Parameters
public ConstantDataArray CreateConstantString(string value)
String | value | string to convert into an LLVM constant value |
Returns
ConstantDataArray |
Remarks
This converts th string to ANSI form and creates an LLVM constant array of i8 characters for the data without any terminating null character.
CreateConstantString(String, Boolean)
Create a constant data string value
Declaration
public ConstantDataArray CreateConstantString(string value, bool nullTerminate)
Parameters
public ConstantDataArray CreateConstantString(string value, bool nullTerminate)
String | value | string to convert into an LLVM constant value |
Boolean | nullTerminate | flag to indicate if the string should include a null terminator |
Returns
ConstantDataArray |
Remarks
This converts the string to ANSI form and creates an LLVM constant array of i8 characters for the data without any terminating null character.