Skip to content

Commit 80baa81

Browse files
committed
little stuff
1 parent 1cfc68b commit 80baa81

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pip install -U ./pyatomix
2121
from pyatomix import AtomicInt, AtomicFlag
2222
x = AtomicInt(7) # initial value of 7
2323
x += 1 # now it's 8, this is atomic
24+
y = AtomicFlag(True) # y == True
2425
y = AtomicFlag() # y == False
2526
z = y.test_and_set() # z == False, y == True
2627
y.clear() # y == False

atomix_base/atomix_base.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ class AtomicInt:
125125
...
126126
def store(self, arg0: int) -> None:
127127
...
128-
__version__: str = '0.1.2'
128+
__version__: str = '0.1.3'

atomix_base/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from pybind11.setup_helpers import Pybind11Extension, build_ext
22
from setuptools import setup
33

4-
__version__ = "0.1.2"
4+
__version__ = "0.1.3"
55

66
ext_modules = [
77
Pybind11Extension(

atomix_base/src/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#define MACRO_STRINGIFY(x) STRINGIFY(x)
55
namespace py = pybind11;
66
using namespace pybind11::literals;
7-
#include <iostream>
87

98
class AtomicFlag {
109
public:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ py-modules = ["pyatomix.pyatomix"]
77

88
[project]
99
name = "pyatomix"
10-
version = "0.1.2"
10+
version = "0.1.3"
1111
maintainers = [{ name = "0xDEADFED5", email = "admin@terminoid.com" }]
1212
description = "Cross platform atomic int for Python"
1313
requires-python = ">=3.7"
@@ -31,7 +31,7 @@ classifiers = [
3131
]
3232

3333
dependencies = [
34-
"atomix_base >= 0.1.2",
34+
"atomix_base >= 0.1.3",
3535
]
3636

3737
[project.urls]

0 commit comments

Comments
 (0)