# pygccxml.declarations.calldef_types module

class `CALLING_CONVENTION_TYPES`

  Bases: `object`

  class that defines “calling convention” constants

  `CDECL` = 'cdecl'
  `FASTCALL` = 'fastcall'
  `STDCALL` = 'stdcall'
  `SYSTEM_DEFAULT` = '<<<system default>>>'
  `THISCALL` = 'thiscall'
  `UNKNOWN` = ''
  `all` = ('', 'cdecl', 'stdcall', 'thiscall', 'fastcall', '<<<system default>>>')
  static `extract`(text, default='')

    extracts calling convention from the text. If the calling convention could not be found, the “default”is used

  `pattern` = re.compile('.*(?:^|\\s)(?:__)?(?P<cc>cdecl|stdcall|thiscall|fastcall)(?:__)?.*')

`FUNCTION_VIRTUALITY_TYPES`

  alias of `pygccxml.declarations.calldef_types.VIRTUALITY_TYPES`

class `VIRTUALITY_TYPES`

  Bases: `object`

  class that defines “virtuality” constants

  `ALL` = ['not virtual', 'virtual', 'pure virtual']
  `NOT_VIRTUAL` = 'not virtual'
  `PURE_VIRTUAL` = 'pure virtual'
  `VIRTUAL` = 'virtual'