46 lines
1.1 KiB
C++

// Filename: test_lib.cxx
// Created by: frang (15Jun00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://etc.cmu.edu/panda3d/docs/license/ .
//
// To contact the maintainers of this program write to
// panda3d-general@lists.sourceforge.net .
//
////////////////////////////////////////////////////////////////////
#include "test_lib.h"
int non_member1(float x, float y) {
return (int)(x + y);
}
my_class1::my_class1(void) {}
my_class1::my_class1(int) {}
my_class1::~my_class1(void) {}
float my_class1::method1(int x) { return (float)(x); }
int my_class1::method2(float x) { return (int)(x); }
int stupid_global;
#include "dconfig.h"
Configure(test_lib);
ConfigureFn(test_lib) {
cerr << "In test_lib configure function!" << endl;
}
ConfigureLibSym;