Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 651780
Collapse All | Expand All

(-)a/google/protobuf/pyext/message.cc (-7 / +1 lines)
Lines 402-413 static PyObject* GetExtensionsByNumber(CMessageClass *self, void *closure) { Link Here
402
  return result.release();
402
  return result.release();
403
}
403
}
404
404
405
static PyGetSetDef Getters[] = {
406
  {"_extensions_by_name", (getter)GetExtensionsByName, NULL},
407
  {"_extensions_by_number", (getter)GetExtensionsByNumber, NULL},
408
  {NULL}
409
};
410
411
}  // namespace message_meta
405
}  // namespace message_meta
412
406
413
PyTypeObject CMessageClass_Type = {
407
PyTypeObject CMessageClass_Type = {
Lines 440-446 PyTypeObject CMessageClass_Type = { Link Here
440
  0,                                   // tp_iternext
434
  0,                                   // tp_iternext
441
  0,                                   // tp_methods
435
  0,                                   // tp_methods
442
  0,                                   // tp_members
436
  0,                                   // tp_members
443
  message_meta::Getters,               // tp_getset
437
  0,                                   // tp_getset
444
  0,                                   // tp_base
438
  0,                                   // tp_base
445
  0,                                   // tp_dict
439
  0,                                   // tp_dict
446
  0,                                   // tp_descr_get
440
  0,                                   // tp_descr_get

Return to bug 651780