This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

trace with context

By: a guest on Mar 5th, 2014  |  syntax: None  |  size: 3.87 KB  |  views: 6  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. GL_4_3.py(342): @_f
  2. GL_4_3.py(343): @_p.types(None,_cs.GLuint)
  3.  --- modulename: __init__, funcname: types
  4. __init__.py(39):     def add_types( function ):
  5. __init__.py(48):     return add_types
  6.  --- modulename: __init__, funcname: add_types
  7. __init__.py(41):         function.resultType = resultType
  8. __init__.py(42):         function.argTypes = argTypes
  9. __init__.py(43):         if hasattr( function, 'func_code' ): # python 2.x
  10. __init__.py(44):             function.argNames = function.func_code.co_varnames
  11. __init__.py(47):         return function
  12.  --- modulename: GL_4_3, funcname: _f
  13. GL_4_3.py(12):     return _p.createFunction( function,_p.GL,'GL_VERSION_GL_4_3')
  14.  --- modulename: __init__, funcname: createFunction
  15. __init__.py(60):     return createExtensionFunction(
  16. __init__.py(61):         function.__name__,
  17. __init__.py(62):         dll or PLATFORM.GL,
  18. __init__.py(63):         resultType = function.resultType,
  19. __init__.py(64):         argTypes = function.argTypes,
  20. __init__.py(65):         doc = None, argNames = function.argNames,
  21. __init__.py(66):         extension = extension,
  22. __init__.py(67):         deprecated = deprecated,
  23. __init__.py(68):         module = function.__module__,
  24.  --- modulename: baseplatform, funcname: createBaseFunction
  25. baseplatform.py(201):         from OpenGL import wrapper
  26. baseplatform.py(202):         result = None
  27. baseplatform.py(203):         try:
  28. baseplatform.py(205):                 _configflags.FORWARD_COMPATIBLE_ONLY and
  29. baseplatform.py(218):                 result = self.constructFunction(
  30. baseplatform.py(219):                     functionName, dll,
  31. baseplatform.py(220):                     resultType=resultType, argTypes=argTypes,
  32. baseplatform.py(221):                     doc = doc, argNames = argNames,
  33. baseplatform.py(222):                     extension = extension,
  34.  --- modulename: baseplatform, funcname: constructFunction
  35. baseplatform.py(140):         is_core = (not extension) or extension.split('_')[1] == 'VERSION'
  36. baseplatform.py(141):         if (not is_core) and not self.checkExtension( extension ):
  37. baseplatform.py(143):         argTypes = [ self.finalArgType( t ) for t in argTypes ]
  38.  --- modulename: baseplatform, funcname: finalArgType
  39. baseplatform.py(121):         if typ == ctypes.POINTER( None ) and not getattr( typ, 'final',False):
  40. baseplatform.py(125):             return typ
  41. baseplatform.py(143):         argTypes = [ self.finalArgType( t ) for t in argTypes ]
  42. baseplatform.py(145):         if force_extension or ((not is_core) and (not self.EXTENSIONS_USE_BASE_FUNCTIONS)):
  43. baseplatform.py(158):             func = ctypesloader.buildFunction(
  44. baseplatform.py(159):                 self.functionTypeFor( dll )(
  45.  --- modulename: baseplatform, funcname: functionTypeFor
  46. baseplatform.py(91):         if hasattr( dll, 'FunctionType' ):
  47.  --- modulename: __init__, funcname: __getattr__
  48. __init__.py(376):         if name.startswith('__') and name.endswith('__'):
  49. __init__.py(378):         func = self.__getitem__(name)
  50.  --- modulename: __init__, funcname: __getitem__
  51. __init__.py(383):         func = self._FuncPtr((name_or_ordinal, self))
  52. baseplatform.py(94):             return self.DEFAULT_FUNCTION_TYPE
  53. baseplatform.py(160):                     resultType,
  54. baseplatform.py(161):                     *argTypes
  55.  --- modulename: __init__, funcname: CFUNCTYPE
  56. __init__.py(94):     flags = _FUNCFLAG_CDECL
  57. __init__.py(95):     if kw.pop("use_errno", False):
  58. __init__.py(97):     if kw.pop("use_last_error", False):
  59. __init__.py(99):     if kw:
  60. __init__.py(101):     try:
  61. __init__.py(102):         return _c_functype_cache[(restype, argtypes, flags)]
  62. baseplatform.py(163):                 functionName,
  63. baseplatform.py(164):                 dll,
  64.  --- modulename: ctypesloader, funcname: buildFunction
  65. ctypesloader.py(60):     if ctypes_version <= [0,9,9,3]:
  66. ctypesloader.py(66):     return functionType( (name, dll), )
clone this paste RAW Paste Data