From 230d0366d25b1b73c11ccb95cfb51aa54123942e Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Fri, 17 Mar 2017 20:59:47 +0200 Subject: [PATCH] Replaced obsolete code in the example for SDL. Signed-off-by: Dimitar Dobrev --- examples/SDL/SDL.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/SDL/SDL.cs b/examples/SDL/SDL.cs index b0114377..040673db 100644 --- a/examples/SDL/SDL.cs +++ b/examples/SDL/SDL.cs @@ -10,8 +10,8 @@ namespace CppSharp public void Setup(Driver driver) { var options = driver.Options; - options.LibraryName = "SDL"; - options.Headers.Add("SDL.h"); + var module = options.AddModule("SDL"); + module.Headers.Add("SDL.h"); options.OutputDir = "SDL"; var parserOptions = driver.ParserOptions;