"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fsremap/src/assert.hh" between
fstransform-0.9.3-src.tar.gz and fstransform-0.9.4.tar.gz

About: fstransform is a tool to change a file-system from one format to another, for example from jfs, xfs, or reiser to ext2, ext3, or ext4, in-place and without the need for backup.

assert.hh  (fstransform-0.9.3-src):assert.hh  (fstransform-0.9.4)
skipping to change at line 34 skipping to change at line 34
*/ */
#ifndef FSTRANSFORM_ASSERT_HH #ifndef FSTRANSFORM_ASSERT_HH
#define FSTRANSFORM_ASSERT_HH #define FSTRANSFORM_ASSERT_HH
#include "check.hh" #include "check.hh"
FT_EXTERN_C_BEGIN FT_EXTERN_C_BEGIN
FT_NAMESPACE_BEGIN FT_NAMESPACE_BEGIN
void ff_assert_fail0(const char * caller_file, const char * caller_func, int cal ler_line, const char * assertion); void ff_assert_fail0(const char * caller_file, int caller_file_len, const char * caller_func, int caller_line, const char * assertion);
FT_NAMESPACE_END FT_NAMESPACE_END
FT_EXTERN_C_END FT_EXTERN_C_END
#define ff_assert(expr) do { if (!(expr)) ff_assert_fail0(FT_THIS_FILE, FT_THIS_ FUNCTION, FT_THIS_LINE, #expr ); } while (0) #define ff_assert(expr) do { if (!(expr)) ff_assert_fail0(FT_THIS_FILE, sizeof(F T_THIS_FILE)-1, FT_THIS_FUNCTION, FT_THIS_LINE, #expr ); } while (0)
#define ff_assert_fail(msg) ff_assert_fail0(FT_THIS_FILE, FT_THIS_FUNCTION, FT_T HIS_LINE, (msg)) #define ff_assert_fail(msg) ff_assert_fail0(FT_THIS_FILE, sizeof(FT_THIS_FILE)-1 , FT_THIS_FUNCTION, FT_THIS_LINE, (msg))
#endif /* FSTRANSFORM_ASSERT_HH */ #endif /* FSTRANSFORM_ASSERT_HH */
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)