0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.191.68.112


Current Path : /var/www/html/guk_old/libgd-gd-2.2.3/netware/
Upload File :
Current File : /var/www/html/guk_old/libgd-gd-2.2.3/netware/get_exp.awk

#!awk
# awk hack to fetch libgd export functions from header
# and write them to STDOUT. Here you can get an awk version for Win32:
# http://www.gknw.net/development/prgtools/awk.zip
# $Id$
#
BEGIN {
  print "# Exports extracted from " ARGV[1] "";
  print "# Do not edit this file - it is created by make!";
  print "# All your changes will be lost!!";
  if (EPREFIX) {
    print "  (" EPREFIX ")";
  }
  print "  gdFontGetGiant,";
  print "  gdFontGetLarge,";
  print "  gdFontGetMediumBold,";
  print "  gdFontGetSmall,";
  print "  gdFontGetTiny,";
  print "  gdImageSquareToCircle,";
  print "  gdImageStringFTCircle,";
  print "  gdImageSharpen,";
}

# try to catch the function names from lines like:
# BGD_DECLARE(gdImagePtr) function ...
# BGD_DECLARE(void *) function ...
#
/^[ \t]*BGD_DECLARE\([^\)]*\) +(gd[A-Za-z0-9_]+)/ {
  sub(/^[ \t]*BGD_DECLARE\([^\)]+\) +/, "");
  sub(/[ \t]*\(.*$/, "");
  # hack to filter gdImageEllipse() since we have no C implementation.
  if ($0 != "gdImageEllipse") {
    print "  " $0 ",";
  }
}