summaryrefslogtreecommitdiff
path: root/lang_ext
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-09-26 11:46:38 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-09-26 11:46:38 -0700
commit33a68acb14759cb6fcf796b41ad001c93de4b8e4 (patch)
treef03543b04c0e5b7ce7f2650ff1330919d4d6e055 /lang_ext
parent4b47002198f2c0404e16d2f02786845d6d3a0d3b (diff)
Use a status object for errors so a message can be returned.
Also delay deletion of subfields until the entire message is deleted.
Diffstat (limited to 'lang_ext')
-rw-r--r--lang_ext/python/setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang_ext/python/setup.py b/lang_ext/python/setup.py
index 53cbef1..ec34e7d 100644
--- a/lang_ext/python/setup.py
+++ b/lang_ext/python/setup.py
@@ -6,7 +6,8 @@ setup(name='upb',
Extension('upb.cext', ['definition.c', 'pb.c', 'cext.c'],
include_dirs=['../../src', '../../descriptor'],
define_macros=[("UPB_USE_PTHREADS", 1),
- ("UPB_UNALIGNED_READS_OK", 1)],
+ ("UPB_UNALIGNED_READS_OK", 1),
+ ("UPB_THREAD_UNSAFE", 1)],
library_dirs=['../../src'],
libraries=['upb_pic'],
),
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback