Skip to content

Commit

Permalink
Update awaitable.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroIntensity authored May 1, 2024
1 parent 389e3bd commit c1dd42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/awaitable.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ typedef struct _awaitable_abi {
PyTypeObject *AwaitableType;
} AwaitableABI;

AwaitableABI* awaitable_abi = NULL;
AwaitableABI *awaitable_abi = NULL;

// PyObject *awaitable_new(void);
#define awaitable_new awaitable_abi->awaitable_new
Expand Down Expand Up @@ -57,7 +57,7 @@ static int
awaitable_init()
{
if (awaitable_abi != NULL)
return;
return 0;

AwaitableABI *capsule = PyCapsule_Import("pyawaitable.abi.v1", 0);
if (capsule == NULL)
Expand Down

0 comments on commit c1dd42f

Please sign in to comment.