csharp: Add some null checks.
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Tue, 9 Apr 2019 19:23:03 +0000 (16:23 -0300)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 17 Apr 2019 01:03:25 +0000 (10:03 +0900)
commitb67b43ac078e94d04d934d09ad5d7ed1f0a5b5a4
treeac8b3e0a86c015b533648ec8a66497a84e4bd38a
parent1913972b730b2f375c77bf3ae3283f749962bd8f
csharp: Add some null checks.

Summary:
- Check for nullness when getting stuff from C# to C
- We should return null when wrapping a NULL pointer instead of throwing
  an exception

Reviewers: felipealmeida, vitor.sousa, woohyun

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8580
src/bin/eolian_mono/eolian/mono/struct_definition.hh
src/bindings/mono/eo_mono/iwrapper.cs