/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/java/abstract_inherit_using_runme.java
23 строки
606 B
William S Fulton
Fix missing constructor generation due to abstract class test failure
05 авг 2023, 21:47
05 авг 2023, 21:47
69d5373
Код
Авторство
О чём код?
import abstract_inherit_using.*; public class abstract_inherit_using_runme { static { try { System.loadLibrary("abstract_inherit_using"); } 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[]) { ConcreteDerived1 cd1 = new ConcreteDerived1(); cd1.f(1234); cd1.f("one"); ConcreteDerived2 cd2 = new ConcreteDerived2(); cd2.f(1234); cd2.f("one"); } }