tarantool / small

Specialized memory allocators
Other
101 stars 22 forks source link

small depends on exception.h #7

Open rtsisyk opened 8 years ago

rtsisyk commented 8 years ago

Reported by @alyapunov

There are a pair of functions with 'xc' postfix in small sub-module. That why "exeption.h" is included and the small depends on exceptions definition.

This dependency hinders usage of small submodule as a standalone project.

I beleive 'xc' functions must be moved to somewhere like 'small_xc.h' (and possibly 'small_xc.cc')

bigbes commented 8 years ago

Why not to use #ifdef tarantool?