Skip to content
Commit e9a17312 authored by Peter Bigot's avatar Peter Bigot Committed by Kumar Gala
Browse files

scripts/dts/gen_defines.py: generalize string escape



Add str2str to make the conversion of a string into a C literal with all
necessary escapes and enclosing double quotes available outside a
function that emits a define.

Signed-off-by: default avatarPeter A. Bigot <pab@pabigot.com>
parent b914ba88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment