mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Miscellaneous deprecations and renaming
This commit is contained in:
parent
d875ad1a96
commit
4d4c6280e9
14 changed files with 57 additions and 57 deletions
|
@ -609,7 +609,7 @@ function clean%(str: string%): string
|
|||
## .. zeek:see:: clean escape_string
|
||||
function to_string_literal%(str: string%): string
|
||||
%{
|
||||
char* s = str->AsString()->Render(zeek::String::BRO_STRING_LITERAL);
|
||||
char* s = str->AsString()->Render(zeek::String::ZEEK_STRING_LITERAL);
|
||||
return zeek::make_intrusive<zeek::StringVal>(new zeek::String(1, byte_vec(s), strlen(s)));
|
||||
%}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue