static inline GOmxPort * get_port (GOmxCore * core, guint index) { if (G_LIKELY (index < core->ports->len)) { return g_ptr_array_index (core->ports, index); }
return NULL; }