src/mangle.h File Reference

Name mangling. More...

Go to the source code of this file.

Functions

char * mangle_instance_struct (char *classname)
 Gives Name of Stucture for class instance.
char * mangle_instance_typedef (char *classname)
 Gives typedef'd name of Stucture for class instance.
char * mangle_class_typedef (char *classname)
 Gives typedef'd name of Stucture for class descriptor.
char * mangle_class_struct (char *classname)
 Gives name of Stucture for class descriptor.
char * mangle_msg_function (char *classname, char *msg, int arg_cnt)
 Gives name of function implimenting this method.
char * mangle_msg_field (char *msg, int arg_cnt)
 Gives the name of the field in the class descriptor for this method.
char * mangle_type_get_func (char *classname)
 Gives the name of the function to get the class descriptor.
char * mangle_class_init_function (char *classname)
 Gives function for GType class init.


Detailed Description

Name mangling.

Functions to perform name mangling for class structures and methods.


Function Documentation

char* mangle_class_init_function ( char *  classname  ) 

Gives function for GType class init.

This function must initialize the class descriptor.

char* mangle_class_struct ( char *  classname  ) 

Gives name of Stucture for class descriptor.

Caller owns return pointer.

char* mangle_class_typedef ( char *  classname  ) 

Gives typedef'd name of Stucture for class descriptor.

Caller owns return pointer.

char* mangle_instance_struct ( char *  classname  ) 

Gives Name of Stucture for class instance.

Caller owns return pointer.

char* mangle_instance_typedef ( char *  classname  ) 

Gives typedef'd name of Stucture for class instance.

Caller owns return pointer.

char* mangle_msg_field ( char *  msg,
int  arg_cnt 
)

Gives the name of the field in the class descriptor for this method.

Caller owns return pointer.

Parameters:
msg The name of the method
arg_cnt The number of arguments this method takes

char* mangle_msg_function ( char *  classname,
char *  msg,
int  arg_cnt 
)

Gives name of function implimenting this method.

Caller owns return pointer.

Parameters:
class The name of the class
msg The name of the method
arg_cnt The number of arguments this method takes

char* mangle_type_get_func ( char *  classname  ) 

Gives the name of the function to get the class descriptor.

Caller owns return pointer.


Generated on Mon Dec 24 06:11:58 2007 for gfront by  doxygen 1.5.2