open_toontown_panda3d/direct/src/dcparser
rdb 73360393df Switch use of Py_INCREF to new Py_NewRef function
This is more idiomatic, simplifies the code, makes it easier to port to eg. HPy later on, and makes it easier to use the limited ABI (where it can be optimized to a tail call) later on

A polyfill is provided for compatibility with Python versions 3.8 and 3.9
2024-01-29 17:57:53 +01:00
..
CMakeLists.txt CMake: Rely on GNUInstallDirs to specify install paths 2019-08-31 00:48:42 -06:00
dcArrayParameter.cxx dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcArrayParameter.h dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcAtomicField.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
dcAtomicField.cxx dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcAtomicField.h dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcClass.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
dcClass.cxx pstats: Rename "Show code" collector to "Tasks" 2022-11-29 20:50:18 +01:00
dcClass.h dcparser: The dcparser now compiles outside of panda 2020-06-14 13:10:01 +02:00
dcClassParameter.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcClassParameter.h cleanup: Fix assorted issues uncovered by clang-tidy 2023-02-12 18:17:03 +01:00
dcClass_ext.cxx Switch use of Py_INCREF to new Py_NewRef function 2024-01-29 17:57:53 +01:00
dcClass_ext.h dcparser: move Python-specific code to extension files 2019-08-23 18:58:19 +02:00
dcDeclaration.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcDeclaration.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcField.I dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcField.cxx dcparser: move Python-specific code to extension files 2019-08-23 18:58:19 +02:00
dcField.h dcparser: move Python-specific code to extension files 2019-08-23 18:58:19 +02:00
dcField_ext.cxx cleanup: Remove support for EOL versions of Python 2020-04-26 20:07:56 +02:00
dcField_ext.h dcparser: move Python-specific code to extension files 2019-08-23 18:58:19 +02:00
dcFile.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
dcFile.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcFile.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcKeyword.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcKeyword.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcKeywordList.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcKeywordList.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcLexer.cxx.prebuilt dcparser: The dcparser now compiles outside of panda 2020-06-14 13:10:01 +02:00
dcLexer.lxx dcparser: The dcparser now compiles outside of panda 2020-06-14 13:10:01 +02:00
dcLexerDefs.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
dcMolecularField.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcMolecularField.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcNumericRange.I makepanda: fix missing BUILDING_DIRECT_DCPARSER 2018-08-19 21:06:47 +02:00
dcNumericRange.h makepanda: fix missing BUILDING_DIRECT_DCPARSER 2018-08-19 21:06:47 +02:00
dcPackData.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
dcPackData.cxx general: Replace NULL (and 0 as pointer) with C++11 nullptr 2018-06-03 16:35:13 -06:00
dcPackData.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcPacker.I operator delete should check for null pointer before deallocating 2020-05-05 18:13:13 +02:00
dcPacker.cxx dcparser: fix Python 3 regression unpacking uint types 2022-10-22 10:31:26 +02:00
dcPacker.h dcparser: move Python-specific code to extension files 2019-08-23 18:58:19 +02:00
dcPackerCatalog.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
dcPackerCatalog.cxx cleanup: Remove more unnecessary nullptr checks before delete 2020-05-05 14:46:30 +02:00
dcPackerCatalog.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcPackerInterface.I dcparser: fix unpacking uint64 and int64 2019-12-25 16:57:06 +01:00
dcPackerInterface.cxx cleanup: Remove more unnecessary nullptr checks before delete 2020-05-05 14:46:30 +02:00
dcPackerInterface.h dcparser: fix ability to compile outside of Panda 2019-12-29 14:27:05 +01:00
dcPacker_ext.cxx Switch use of Py_INCREF to new Py_NewRef function 2024-01-29 17:57:53 +01:00
dcPacker_ext.h dcparser: move Python-specific code to extension files 2019-08-23 18:58:19 +02:00
dcParameter.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcParameter.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcParser.cxx.prebuilt dcparser: Fix segfault with nested struct or switch 2023-08-04 14:02:13 +02:00
dcParser.h.prebuilt dcparser: Fix segfault with nested struct or switch 2023-08-04 14:02:13 +02:00
dcParser.yxx dcparser: Fix segfault with nested struct or switch 2023-08-04 14:02:13 +02:00
dcParserDefs.h dcparser: fix ability to compile outside of Panda 2019-12-29 14:27:05 +01:00
dcSimpleParameter.cxx dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcSimpleParameter.h dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcSubatomicType.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcSubatomicType.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
dcSwitch.cxx cleanup: Remove more unnecessary nullptr checks before delete 2020-05-05 14:46:30 +02:00
dcSwitch.h dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
dcSwitchParameter.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcSwitchParameter.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcTypedef.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcTypedef.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00
dcbase.h dcparser: The dcparser now compiles outside of panda 2020-06-14 13:10:01 +02:00
dcindent.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
dcindent.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
dcmsgtypes.h distributed: Change the message numbers to match Astron's 2018-02-23 16:35:50 -07:00
hashGenerator.cxx dcparser: use vector_uchar for blobs, step towards Python 3 compat 2018-12-19 12:45:32 +01:00
hashGenerator.h dcparser: fix ability to compile outside of Panda 2019-12-29 14:27:05 +01:00
p3dcparser_composite1.cxx rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
p3dcparser_composite2.cxx rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
p3dcparser_ext_composite.cxx dcparser: move Python-specific code to extension files 2019-08-23 18:58:19 +02:00
primeNumberGenerator.cxx New file headers, new comment style 2016-02-17 17:47:48 +01:00
primeNumberGenerator.h dcparser: Add BUILDING_DIRECT_DCPARSER switch 2018-08-15 20:38:00 -06:00