mirror of https://github.com/swig/swig
12 lines
336 B
JavaScript
12 lines
336 B
JavaScript
var template_default_cache = require("template_default_cache");
|
|
|
|
ap = template_default_cache.get_mp_a();
|
|
bp = template_default_cache.get_mp_b();
|
|
|
|
if (!ap instanceof template_default_cache.AModelPtr) {
|
|
throw new Error("get_mp_a fail");
|
|
}
|
|
if (!bp instanceof template_default_cache.BModelPtr) {
|
|
throw new Error("get_mp_b fail");
|
|
}
|