NEURON
classreg.h File Reference

Go to the source code of this file.

Classes

struct  Member_func
 
struct  Member_ret_obj_func
 
struct  Member_ret_str_func
 

Typedefs

using ctor_f = void *(Object *)
 
using dtor_f = void(void *)
 

Functions

void class2oc (const char *, ctor_f *cons, dtor_f *destruct, Member_func *, Member_ret_obj_func *, Member_ret_str_func *)
 

Typedef Documentation

◆ ctor_f

using ctor_f = void*(Object*)

Definition at line 5 of file classreg.h.

◆ dtor_f

using dtor_f = void(void*)

Definition at line 6 of file classreg.h.

Function Documentation

◆ class2oc()

void class2oc ( const char *  name,
ctor_f cons,
dtor_f destruct,
Member_func m,
Member_ret_obj_func mobjret,
Member_ret_str_func strret 
)

Definition at line 1631 of file hoc_oop.cpp.