MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / isInterface

Function isInterface

java/idl2jni/codegen/im_jni.cpp:488–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488bool isInterface(AST_Type *t)
489{
490 if (t->node_type() == AST_Decl::NT_typedef) {
491 AST_Typedef *td = dynamic_cast<AST_Typedef*>(t);
492 t = td->primitive_base_type();
493 }
494
495 switch (t->node_type()) {
496 case AST_Decl::NT_interface:
497 case AST_Decl::NT_interface_fwd:
498 return true;
499 default:
500 return false;
501 }
502}
503
504}
505

Callers 1

write_native_operationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected