Help for this page

Select Code to Download


  1. or download this
    cc -c   -O     -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\" -Kpic -I/usr/
    +local/lib/
    perl5/sun4-solaris/5.00405/CORE  myclass.c
    ...
    cc: acomp failed for myclass.c
    *** Error code 2
    make: Fatal error: Command failed for target `myclass.o'
    
  2. or download this
    class  color {
            public:
    ...
            private:
            int c_blue;
    };
    
  3. or download this
    int
    color::blue()
    ...
    void
    color::set_blue( val )
            int val
    
  4. or download this
    MODULE = myclass                PACKAGE = myclass
    
  5. or download this
    color *                 O_OBJECT
    
    ...
    erence\" );
                    XSRETURN_UNDEF;
            }
    
  6. or download this
    use ExtUtils::MakeMaker;
    WriteMakefile(
    ...
        'INC'       => '',     # e.g., '-I/usr/include/other'
        'XSOPT'     => '-C++',
    );