libsolc: change return type of compile to non-const

This commit is contained in:
Alex Beregszaszi
2019-12-12 11:26:16 +00:00
parent 2ccf3ea4ab
commit 6e6bc9904f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ void solidity_free(char* _data) SOLC_NOEXCEPT;
/// @param _readContext An optional context pointer passed to _readCallback. Can be NULL.
///
/// @returns A pointer to the result. The pointer returned must be freed by the caller using solidity_free() or solidity_reset().
char const* solidity_compile(char const* _input, CStyleReadFileCallback _readCallback, void* _readContext) SOLC_NOEXCEPT;
char* solidity_compile(char const* _input, CStyleReadFileCallback _readCallback, void* _readContext) SOLC_NOEXCEPT;
/// Frees up any allocated memory.
///