/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/java/template_construct_runme.java
22 строки
560 B
William S Fulton
Constructors and destructors declared with template parameters
18 июл 2023, 21:29
18 июл 2023, 21:29
2ff9da0
Код
Авторство
О чём код?
import template_construct.*; public class template_construct_runme { static { try { System.loadLibrary("template_construct"); } catch (UnsatisfiedLinkError e) { System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e); System.exit(1); } } public static void main(String argv[]) { Foo_int fi = new Foo_int(0); fi.delete(); Foo_short fs = new Foo_short(); fs.delete(); fs = new Foo_short(); fs.delete(); } }