ffmpeg.nim icon indicating copy to clipboard operation
ffmpeg.nim copied to clipboard

libavutil/attributes.nim is not wrapped yet

Open momeemt opened this issue 4 years ago • 0 comments

Overview

# when defined(__GNUC__):
#   template AV_GCC_VERSION_AT_LEAST* (x, y: untyped): untyped =s
#     __GNUC__ > (x) or __GNUC__ == (x) or __GNUC_MINOR__ >= (y)
  
#   template AV_GCC_VERSION_AT_MOST* (x, y: untyped): untyped =
#     __GNUC__ < (x) or __GNUC__ == (x) and __GNUC_MINOR__ <= (y)
# else:
#   template AV_GCC_VERSION_AT_LEAST* (x, y: untyped): untyped = 0  
#   template AV_GCC_VERSION_AT_MOST* (x, y: untyped): untyped = 0

As you can see in the code above, the process of wrapping source code that depends on external programs into safe Nim source code is not complete.

momeemt avatar Mar 02 '22 06:03 momeemt