comfortable-swipe/cpp/_macro.cpp
Rico Tiongson 8464084f56
Package comfortable-swipe with Python (#58)
* Add initial python setup script

* Add working initial python porting definition for comfortable-swipe

* Add python extensions to cpp libraries

* Remove boost and prefer vanilla Python.h implementation

* Add main driver function for comfortable_swipe

* Fix compilation for Python 3

* Remove depcreacted cpp scripts in root

* Move script to entrypoint

* Increment version to beta

* Update variable formatting

* Remove deprecated install script

* Move install to post-install command

* Create install script hooks

* Fix bdist_wheel class errors

* Use absolute path for c++ sources

* Unignore index files

* Move autostart to python

* Allow comfortable swipe autostart for possible virtualenv

* Completely port autostart to python

* Move status to python

* Optimize swipe function

* Remove iostream optimization from buffer

* Register pre-install and post-install in a stack

* Remove underscores from value-defined macros

* Compress default config

* Change cpp to __init__.py

* Error message

* Bugfix for python2
2019-03-04 12:45:09 +08:00

13 lines
379 B
C++

#ifndef __COMFORTABLE_SWIPE__macro_hpp__
#define __COMFORTABLE_SWIPE__macro_hpp__
#ifndef COMFORTABLE_SWIPE_CONFIG
#error "COMFORTABLE_SWIPE_CONFIG must be defined."
#endif /* COMFORTABLE_SWIPE_CONFIG */
#ifndef COMFORTABLE_SWIPE_VERSION
#warning "COMFORTABLE_SWIPE_VERSION is not defined."
#endif /* COMFORTABLE_SWIPE_VERSION */
#endif /* __COMFORTABLE_SWIPE__macro_hpp__ */