pike.git / src / modules / SANE / sane.c

version» Context lines:

pike.git/src/modules/SANE/sane.c:22:   #include "error.h"   #include "mapping.h"   #include "multiset.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "builtin_functions.h"      #include "../Image/image.h"    - RCSID("$Id: sane.c,v 1.5 2000/07/07 16:10:07 marcus Exp $"); + /* must be included last */ + #include "module_magic.h"    -  + RCSID("$Id: sane.c,v 1.6 2000/07/28 07:14:53 hubbe Exp $"); +    /*   **! module SANE   **!   **! This module enables access to the SANE (Scanner Access Now Easy)   **! library from pike   **!   **! note - **! $Id: sane.c,v 1.5 2000/07/07 16:10:07 marcus Exp $ + **! $Id: sane.c,v 1.6 2000/07/28 07:14:53 hubbe Exp $   */      static int sane_is_inited;      struct scanner   {    SANE_Handle h;   };      static void init_sane()
pike.git/src/modules/SANE/sane.c:739:      void pike_module_exit()   {    if( sane_is_inited )    sane_exit();    if( image_program )    free_program( image_program );   }      #else + #include "module_magic.h"   void pike_module_init() {}   void pike_module_exit() {}   #endif