I know from experience how much more of a headache it is to
build/distribute native extensions that depend on other native
extensions' ABIs (numpy, specifically).
Do Pygame Surface/Sound objects support the Buffer Protocol? This
would be a convenient way to to read and update object data
On 18-06-18 01:45 AM, Daniel Pope wrote:
Is this for a public C API or just internal to Pygame?
It is internal to Pygame, though if it is formalized and documented
someone might use it in another package.
I know from experience how much more of a headache it is to
build/distribute native
This is amazing work. Thanks a lot for doing these hard but very helpful
changes :) It should make working with pygame internals much easier and
understandable for people.
cheerio,
On Friday, June 15, 2018, Lenard Lindstrom wrote:
> Hi everyone,
>
> A part of the preparation for pygame 2 I
Hi Thomas,
On 18-06-17 03:17 AM, Thomas Kluyver wrote:
I'm not really familiar with C APIs, but I thought that the 0/-1
inconsistency was necessary because 0 may be a valid return value in
some contexts, and there is no -1 if you're using a unsigned integer
type. Looking quickly at the Python
unless you are committed to to rewriting everything, i would leave changing
error handling alone alone...C is not forgiving and very few people (a
dozen, maybe?) use the pygame internal C code, and unless its getting in
your way and slowing down development its probably best to document the
code
Is this for a public C API or just internal to Pygame?
I know from experience how much more of a headache it is to
build/distribute native extensions that depend on other native extensions'
ABIs (numpy, specifically).
Do Pygame Surface/Sound objects support the Buffer Protocol? This would be
a
I'm not really familiar with C APIs, but I thought that the 0/-1
inconsistency was necessary because 0 may be a valid return value in some
contexts, and there is no -1 if you're using a unsigned integer type.
Looking quickly at the Python docs, the pattern seems to be that functions
returning a
Hi everyone,
A part of the preparation for pygame 2 I have documented the functions
and types exported by various pygame extension modules. For instance,
the pygame.surface module exports C functions for creating and accessing
pygame.Surface instances. These are used in other modules, such as