From 9121d86a00e086f1209c2c4a47b817140005fbfe Mon Sep 17 00:00:00 2001 From: benjaminZale Date: Sun, 15 Dec 2019 09:28:52 -0500 Subject: [PATCH] Escape C# strings correctly The strings in the example code are not escaped correctly. If a user was to paste this code into a demo app it would not compile --- docs/GeneratingBindings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/GeneratingBindings.md b/docs/GeneratingBindings.md index a2b0072f..70d06561 100644 --- a/docs/GeneratingBindings.md +++ b/docs/GeneratingBindings.md @@ -77,9 +77,9 @@ void Setup(Driver driver) var options = driver.Options; options.GeneratorKind = GeneratorKind.CSharp; var module = options.AddModule("Sample"); - module.IncludeDirs.Add("C:\Sample\include"); + module.IncludeDirs.Add(@"C:\Sample\include"); module.Headers.Add("Sample.h"); - module.LibraryDirs.Add("C:\Sample\lib"); + module.LibraryDirs.Add(@"C:\Sample\lib"); module.Libraries.Add("Sample.lib"); } ```