open_toontown_panda3d/panda/src/event
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 event: Remove FunctionAsyncTask 2022-02-22 18:02:34 +01:00
asyncFuture.I event: Update AsyncFuture to use new atomics implementation 2022-02-23 23:20:49 +01:00
asyncFuture.cxx event: Update AsyncFuture to use new atomics implementation 2022-02-23 23:20:49 +01:00
asyncFuture.h dtoolutil: Add small_vector implementation and use it 2023-02-22 16:48:11 +01:00
asyncFuture_ext.cxx Switch use of Py_INCREF to new Py_NewRef function 2024-01-29 17:57:53 +01:00
asyncFuture_ext.h event: cancel future being awaited when cancelling coroutine task 2021-04-18 17:05:00 +02:00
asyncTask.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
asyncTask.cxx cleanup: Fix assorted issues uncovered by clang-tidy 2023-02-12 18:17:03 +01:00
asyncTask.h pstats: Rename "Show code" collector to "Tasks" 2022-11-29 20:50:18 +01:00
asyncTaskChain.I event: Improve interface for adding tasks from C++ 2022-12-26 19:10:01 +01:00
asyncTaskChain.cxx event: Improve interface for adding tasks from C++ 2022-12-26 19:10:01 +01:00
asyncTaskChain.h event: Improve interface for adding tasks from C++ 2022-12-26 19:10:01 +01:00
asyncTaskCollection.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
asyncTaskCollection.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
asyncTaskCollection.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
asyncTaskManager.I event: Improve interface for adding tasks from C++ 2022-12-26 19:10:01 +01:00
asyncTaskManager.cxx Squash merge webgl-port branch into master 2024-01-25 15:37:38 +01:00
asyncTaskManager.h cleanup: Fix assorted issues uncovered by clang-tidy 2023-02-12 18:17:03 +01:00
asyncTaskPause.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
asyncTaskPause.cxx New file headers, new comment style 2016-02-17 17:47:48 +01:00
asyncTaskPause.h New file headers, new comment style 2016-02-17 17:47:48 +01:00
asyncTaskSequence.I Various compiler warning fixes 2018-06-12 12:38:07 +02:00
asyncTaskSequence.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
asyncTaskSequence.h Various compiler warning fixes 2018-06-12 12:38:07 +02:00
buttonEvent.I event: Expose ButtonEvent to Python 2021-11-28 14:36:20 +01:00
buttonEvent.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
buttonEvent.h event: Mention that ButtonEvent API is not stable for Python use 2021-12-04 20:38:13 +01:00
buttonEventList.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
buttonEventList.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
buttonEventList.h event: Expose ButtonEvent to Python 2021-11-28 14:36:20 +01:00
config_event.cxx event: Remove FunctionAsyncTask 2022-02-22 18:02:34 +01:00
config_event.h New file headers, new comment style 2016-02-17 17:47:48 +01:00
event.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
event.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
event.h dtoolutil: Add small_vector implementation and use it 2023-02-22 16:48:11 +01:00
eventHandler.I general: Fix assorted compiler warnings 2022-03-01 16:09:07 +01:00
eventHandler.cxx dtoolbase: Make MemoryHook constant-initialized 2022-10-24 13:26:03 +02:00
eventHandler.h dtoolutil: Add small_vector implementation and use it 2023-02-22 16:48:11 +01:00
eventParameter.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
eventParameter.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
eventParameter.h general: Remove vestigial typedef.h file 2021-12-12 18:37:49 +01:00
eventQueue.I general: Replace NULL (and 0 as pointer) with C++11 nullptr 2018-06-03 16:35:13 -06:00
eventQueue.cxx dtoolbase: Make MemoryHook constant-initialized 2022-10-24 13:26:03 +02:00
eventQueue.h New file headers, new comment style 2016-02-17 17:47:48 +01:00
eventReceiver.cxx New file headers, new comment style 2016-02-17 17:47:48 +01:00
eventReceiver.h New file headers, new comment style 2016-02-17 17:47:48 +01:00
genericAsyncTask.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
genericAsyncTask.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
genericAsyncTask.h event: Remove FunctionAsyncTask 2022-02-22 18:02:34 +01:00
p3event_composite1.cxx event: Remove FunctionAsyncTask 2022-02-22 18:02:34 +01:00
p3event_composite2.cxx rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
pointerEvent.I Prepare input API for multipointer support 2018-11-30 20:54:37 +01:00
pointerEvent.cxx general: use nassert_raise instead of nassertv(false) et al 2018-11-28 17:35:20 +01:00
pointerEvent.h Switch to UPPER_CASE convention for enum classes as per PEP-8 2023-08-02 11:16:54 +02:00
pointerEventList.I Prepare input API for multipointer support 2018-11-30 20:54:37 +01:00
pointerEventList.cxx Prepare input API for multipointer support 2018-11-30 20:54:37 +01:00
pointerEventList.h Prepare input API for multipointer support 2018-11-30 20:54:37 +01:00
pt_Event.cxx general: Remove '#pragma interface'/'#pragma implementation' 2018-03-20 14:36:19 -04:00
pt_Event.h general: Remove '#pragma interface'/'#pragma implementation' 2018-03-20 14:36:19 -04:00
pythonTask.I Switch use of Py_INCREF to new Py_NewRef function 2024-01-29 17:57:53 +01:00
pythonTask.cxx Switch use of Py_INCREF to new Py_NewRef function 2024-01-29 17:57:53 +01:00
pythonTask.h event: cancel future being awaited when cancelling coroutine task 2021-04-18 17:05:00 +02:00
test_task.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
throw_event.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
throw_event.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00