Exemplo n.º 1
0
int hoc_atan2() {
	double d, *getarg();
	d = atan2(*getarg(1), *getarg(2));
	hoc_ret();
	pushx(d);
	return 0;
}
Exemplo n.º 2
0
Arquivo: audit.c Projeto: nrnhines/nrn
void hoc_Saveaudit(void) {
	int err;
#if !OCSMALL
	err = hoc_saveaudit();
#endif
	hoc_ret();
	hoc_pushx((double)err);
}
Exemplo n.º 3
0
 void nrniv_bind_thread() {
     IFGUI
     bindq_ = new VoidPQueue(10);
     bind_tid_ = int(*hoc_getarg(1));
     //printf("nrniv_bind_thread %d\n", bind_tid_);
     iv_bind_enqueue_ = iv_bind_enqueue;
     ENDGUI
     hoc_pushx(1.);
     hoc_ret();
 }
Exemplo n.º 4
0
Arquivo: audit.c Projeto: nrnhines/nrn
void hoc_Retrieveaudit(void) {
	int err, id;
#if !OCSMALL
	if (ifarg(1)) {
		id = (int)chkarg(1, 0., 1e7);
	}else{
		id = 0;
	}
#endif
	err = hoc_retrieve_audit(id);
	hoc_ret();
	hoc_pushx((double)err);
}
Exemplo n.º 5
0
void hoc_pwman_place(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 6
0
void hoc_checkpoint(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 7
0
void hoc_string_dialog(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 8
0
void hoc_continue_dialog(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 9
0
void hoc_xcheckbox(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 10
0
void hoc_secname(void) {
	hoc_ret();
	pdummystring = dummystring;
	hoc_pushstr(&pdummystring);
}
Exemplo n.º 11
0
void nrniv_bind_thread(void) {hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 12
0
void hoc_xvarlabel(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 13
0
void hoc_xfixedvalue(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 14
0
void hoc_xradiobutton(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 15
0
void hoc_xpanel(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 16
0
void hoc_xmenu(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 17
0
void hoc_xstatebutton(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 18
0
void hoc_save_session(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 19
0
void hoc_print_session(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 20
0
void hoc_xslider(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 21
0
void hoc_notify_iv(void) {hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 22
0
void hoc_boolean_dialog(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 23
0
void ivoc_style(void) { hoc_ret(); hoc_pushx(0.);}
Exemplo n.º 24
0
void hoc_xpvalue() {	hoc_ret(); hoc_pushx(0.);}