typedef struct myStruct (
int m_i_nrecs; /* How many records? */
record *m_ptr_records /* the records */
} RecordTable;
/**
*** initRecordTable(n) -- set up the record table
***
*** Parameters:
*** n (int) how many records do we allocate?
***
*** Returns:
*** (void)
**/
void
initRecordTable(n)
int n;
{
/** blah...blah... blah... ***/
####
class Event {
private:
Date start_date;
Date end_date;
String description;
public:
Event() {
}
public Date getStartDate(){
return this.start_date;
}
public void setStartDate(Date d) {
this.start_date= d;
}
};
####
package HTMLTPrepper;
use Exporter;
use vars qw/ @ISA @EXPORT_OK / ;
@ISA = qw/ Exporter /;
@EXPORT_OK = qw/ get_users /;
sub get_users {
# blah.. blah... blah...
return @stuff;
}
1;
####
package MyTemplates;
use HTML::Template;
use vars qw/ @ISA /;
@ISA = qw/ HTML::Template /;
sub get_users {
# blah blah blah...
return @stuff;
}
#
#
# and other subs.
1;