summaryrefslogtreecommitdiff
path: root/doc/example-smob/myguile.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2014-04-28 17:46:59 +0200
committerAndy Wingo <wingo@pobox.com>2014-04-28 17:46:59 +0200
commit9720934f3a88b68092b31e6f67056fd43780f52d (patch)
tree9f24efe73a7692d0e6ce45cef6fba0e29bd46085 /doc/example-smob/myguile.c
parentd9a4a1cde13422a8e9656bb7745dc31692deb955 (diff)
downloadguile-9720934f3a88b68092b31e6f67056fd43780f52d.tar.gz
Remove doc/example-smob/
* doc/example-smob/: Remove example. It's smaller than it used to be in Guile 1.8, and with foreign objects there's practically nothing interesting to test. * doc/oldfmt.c: Remove this hoary thing. * doc/README: * doc/Makefile.am: Update.
Diffstat (limited to 'doc/example-smob/myguile.c')
-rw-r--r--doc/example-smob/myguile.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/doc/example-smob/myguile.c b/doc/example-smob/myguile.c
deleted file mode 100644
index 30200dd03..000000000
--- a/doc/example-smob/myguile.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* myguile.c
- *
- * Copyright (C) 1998, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 3, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; see the file COPYING.LESSER. If
- * not, write to the Free Software Foundation, Inc., 51 Franklin
- * Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <libguile.h>
-#include "image-type.h"
-
-static void
-inner_main (void *closure, int argc, char **argv)
-{
- /* module initializations would go here */
- init_image_type();
- scm_shell (argc, argv);
-}
-
-int
-main (int argc, char **argv)
-{
- scm_boot_guile (argc, argv, inner_main, 0);
- return 0; /* never reached */
-}