Logo Search packages:      
Sourcecode: jikes version File versions  Download package

int JikesAPI::compile ( char **  filenames  )  [virtual]

Compile given list of files using current compiler options.

Compile given list of files.

Definition at line 203 of file jikesapi.cpp.

{
    // Cast the JikesOption to an Option instance.
    // Note that the reason we don't use an Option
    // member type in the declaration of JikesAPI
    // is so that the jikespai.h header does not
    // need to include option.h.

    Control *control = new Control(filenames, *((Option *) option));
    int return_code = control -> return_code;
    delete control;
    return return_code;
}


Generated by  Doxygen 1.6.0   Back to index