Skip to content

Commit b44888b

Browse files
committed
Cleanup
1 parent 5aec4c8 commit b44888b

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/Sentry.Unity.Native/SentryNativeBridge.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ internal static string GetCacheDirectory(SentryUnityOptions options)
154154
private static IDiagnosticLogger? _logger;
155155
private static bool _useLibC = false;
156156
private static bool _isWindows = false;
157-
private static SentryUnityOptions? _options;
158157

159158
// This method is called from the C library and forwards incoming messages to the currently set _logger.
160159
[MonoPInvokeCallback(typeof(sentry_logger_function_t))]
@@ -297,38 +296,18 @@ private static void WithMarshalledStruct<T>(T structure, Action<IntPtr> action)
297296
action(ptr);
298297
});
299298

300-
#if SENTRY_NATIVE_STATIC
301-
[DllImport("__Internal")]
302-
#else
303299
[DllImport("sentry")]
304-
#endif
305300
private static extern int sentry_init(IntPtr options);
306301

307-
#if SENTRY_NATIVE_STATIC
308-
[DllImport("__Internal")]
309-
#else
310302
[DllImport("sentry")]
311-
#endif
312303
private static extern int sentry_close();
313304

314-
#if SENTRY_NATIVE_STATIC
315-
[DllImport("__Internal")]
316-
#else
317305
[DllImport("sentry")]
318-
#endif
319306
private static extern int sentry_get_crashed_last_run();
320307

321-
#if SENTRY_NATIVE_STATIC
322-
[DllImport("__Internal")]
323-
#else
324308
[DllImport("sentry")]
325-
#endif
326309
private static extern int sentry_clear_crashed_last_run();
327310

328-
#if SENTRY_NATIVE_STATIC
329-
[DllImport("__Internal")]
330-
#else
331311
[DllImport("sentry")]
332-
#endif
333312
private static extern void sentry_reinstall_backend();
334313
}

0 commit comments

Comments
 (0)