source: tags/arb_5.1/EDIT4/ED4_RNA3D.cxx

Last change on this file was 5708, checked in by westram, 15 years ago
  • backtrace gets printed to console from
    • GB_internal_error
    • SIGSEGV (currently GB_login installs the handler using GBK_install_SIGSEGV_handler. Most likely needs to be called manually for some executables)
    • GBK_terminate
  • added GBK_dump_backtrace, GBK_terminate and GBK_assert_msg
  • Default assertion dumps backtrace now
  • added -rdynamic and —export-dynamic compiler/linker flags, leaving symbols in code. This raises size of executables by approx. 8%, but we will get meaningful backtraces from users.
  • removed old inactive SIGSEGV code
  • replaced GB_CORE either by xx_assert() or GBK_terminate()
  • removed GBS_do_core (was used conditionally together with GB_CORE)
  • disabled crash provoked via arb_panic (using 'core' as savename)
  • Linkage changed:
    • The future plan is to try some kind of emergency save on open DBs when GBK_terminate or similar is called.
    • Since arb_assert calls GBK_terminate this affects ALL applications.
    • The drawback is all executables have to be linked vs ARBDB (done with: arb_help2xml and arb_convert_aln, all others already had ARBDB linked)
    • Molphy uses #define SIMPLE_ARB_ASSERT before including arb_assert.h
  • renamed define GBL_INCLUDED → ADLOCAL_H
  • added arbdb_base.h (defining some types and including ad_k_prot.h, which contains all GBK_*-functions). Intended as minimal and seldom changed interface to libARBDB as needed by arb_assert(), to keep build dependencies low.
  • arb_assert.h now automatically includes arbdb_base.h
  • trigger compilation of test functions in parsimony via define
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 362 bytes
Line 
1#include <stdio.h>
2
3#include <aw_root.hxx>
4#include <aw_device.hxx>
5#include <aw_window.hxx>
6
7#include <awt_canvas.hxx>
8
9#include "../RNA3D/RNA3D_Main.hxx"
10#include "ed4_RNA3D.hxx"
11
12void ED4_RNA3D_Start(AW_window *aw, AW_CL, AW_CL)
13{
14#if defined(ARB_OPENGL)
15    RNA3D_StartApplication(aw->get_root());
16#else
17    aw = aw; // avoid warning
18#endif // ARB_OPENGL
19}
20
Note: See TracBrowser for help on using the repository browser.