Commit Graph

9 Commits

Author SHA1 Message Date
ssrlive
f0b3ab2324 find . -regex '.*\.\(cpp\|hpp\|cu\|c\|h\)' -exec clang-format --verbose --style=file -i {} \; 2021-10-07 09:19:48 +00:00
ssrlive
cf3d385492 Synchronize with upstream code. 2021-10-07 16:38:06 +08:00
ssrlive
a812a96fad clang-format find . -regex '.*\.\(cpp\|hpp\|cu\|c\|h\)' -exec clang-format --verbose --style=file -i {} \; 2021-10-07 06:06:52 +00:00
Mauro Carvalho Chehab
938d397164 python: enum: make it compatible with Python 3.9
As reported by:
	https://github.com/mchehab/zbar/issues/92

python bindings don't build with Python 3.9, because it is
using tp_print, which has been silently ignored since Python
3.0, according with[1]:

	"The tp_print slot of PyTypeObject has been removed.
	 It was used for printing objects to files in Python 2.7
	 and before.
	 Since Python 3.0, it has been ignored and unused."

[1] https://docs.python.org/3.9/whatsnew/3.9.html#id3

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-28 10:31:37 +02:00
Mauro Carvalho Chehab
fab5eaa49d python: suppress an unnoying warning
As described at:
	http://python3porting.com/cextensions.html

PyObject should be replaced by PyVarObject on python3. This
is backward-compatible with python 2.6 and python 2.7. So,
it should work fine for all practical purposes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-12 07:31:24 -03:00
Jonas Jelten
8b2a1c245a port to python3 2019-05-05 19:13:59 +02:00
Mauro Carvalho Chehab
cd5b63e5b5 Update to the very latest version of zbar
zbar was using a 2010 snapshot of its hg tree.
Take a new snapshot to get zbar's improvements.

[Imported from Fedora 26 tree]
2017-03-25 23:04:38 -03:00
spadix@users.sf.net
8c5c489309 * fixup some perl distribution details
* project name change: everything "zebra" becomes "zbar"
  * remove old logo
2009-04-17 22:26:38 +00:00
spadix@users.sf.net
155aaa265a * add first pass python bindings!
* fix perl mortality bug
  * add new cfg constants to perl
  * fix perl doc handler ref
  * fix processor set_active error propagation
  * add wiki examples (scan_image.*, processor.*)
2009-03-26 01:21:48 +00:00