File: PsychAuthors.h

package info (click to toggle)
psychtoolbox-3 3.0.19.14.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,796 kB
  • sloc: ansic: 176,245; cpp: 20,103; objc: 5,393; sh: 2,753; python: 1,397; php: 384; makefile: 193; java: 113
file content (56 lines) | stat: -rw-r--r-- 1,517 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
	PsychToolbox2/Source/Common/PsychAuthors.h		
    
	AUTHORS:

		Allen.Ingling@nyu.edu		awi 
  
	PLATFORMS:	Only OSX for now.
    
	DESCRIPTION:
		
		Part of the version information returned by a Psychtoolbox mex file includes its authors.  The master author list is contained in 
		PsychAuthors.c. If contribute to a Psychtoolbox mex file, then please add yourself to this file.  Individual authors are enabled
		for specific mex files by calling PsychSetModuleAuthorByInitials().  Authorship indicates authorship of specific mex files, not of 
		the foundation Psychtoolbox functions upon which they depend.  So, do not add me (Allen Ingling) if you create a brand new mex file,
		even if your mex functions call other Psychtoolbox functions which I have written.  
		
	HISTORY:

		7/22/04		awi		Created. 
		7/27/04		awi		Added description
 
  
*/

//begin include once 
#ifndef PSYCH_IS_INCLUDED_PsychAuthors
#define PSYCH_IS_INCLUDED_PsychAuthors

#include "Psych.h"



typedef struct
{
	psych_bool		enabled;
	char		firstName[32];
	char		middleName[32];
	char		lastName[32];
	char		initials[8];
	char		email[512];
	char		url[512];
} PsychAuthorDescriptorType;

//for use by Psychtoolbox inits.  Don't call this from modules.
void InitPsychAuthorList(void);

//exports for modules (a.k.a mex targets)
void PsychSetModuleAuthorByInitials(char *initials);
int PsychGetNumModuleAuthors(void);
void GetModuleAuthorDescriptorFromIndex(int index, PsychAuthorDescriptorType **descriptor);


//end include once
#endif