Lines Matching refs:main_classname
324 main_classname="$classname"
358 if test "$impl_classname" != "$main_classname"; then
359 …func_fatal_error "file $source_header_file specifies class '$main_classname', but file $source_imp…
397 echo "/* Field layout of ${main_classname} class. */"
398 echo "struct ${main_classname}_representation"
423 echo "/* Virtual function table layout of ${main_classname} class. */"
434 main_repclassalias="any_${main_classname}_representation"
436 main_repclassalias="${main_classname}_representation"
443 …,^.*[^A-Za-z_0-9][A-Za-z_0-9][A-Za-z_0-9]*[ ]*([^,)]*\(.*\)).*$,'"${main_classname}_t"' first_arg…
457 if test "${main_classname}" = "${name}"; then
469 echo "/* ${main_classname}_t is defined as a pointer to struct ${main_repclassalias}."
473 echo "struct ${main_classname}_t"
478 echo " ${main_classname}_t () : _pointer (NULL) {}"
479 echo " ${main_classname}_t (struct ${main_repclassalias} *pointer) : _pointer (pointer) {}"
506 …echo " explicit ${main_classname}_t (${classname}_t x) : _pointer ((struct ${main_repclassalias} …
512 echo "typedef ${main_superclassname}_t ${main_classname}_t;"
514 echo "typedef struct ${main_repclassalias} * ${main_classname}_t;"
522 …z_0-9]\)\([A-Za-z_0-9][A-Za-z_0-9]*\)[ ]*([^,)]*/\1'"${main_classname}_"'\2 ('"${main_classname}_…
528 echo "/* Type representing an implementation of ${main_classname}_t. */"
529 echo "struct ${main_classname}_implementation"
534 echo "#define THIS_ARG ${main_classname}_t first_arg"
535 echo "#include \"${main_classname}.vt.h\""
539 echo "/* Public portion of the object pointed to by a ${main_classname}_t. */"
540 echo "struct ${main_classname}_representation_header"
542 echo " const struct ${main_classname}_implementation *vtable;"
548 echo " the ${main_classname}_implementation."
566 echo "# define ${main_classname}_${name} ${main_classname}_${name}_inline"
568 echo "${main_classname}_${name} ($arglist)"
570 echo " const struct ${main_classname}_implementation *vtable ="
571 …echo " ((struct ${main_classname}_representation_header *) (struct ${main_repclassalias} *) fir…
578 echo "extern${dllexport_for_variables} const typeinfo_t ${main_classname}_typeinfo;"
584 …echo "#define ${main_classname}_SUPERCLASSES &${main_classname}_typeinfo, ${superclasses_array_ini…
586 …echo "#define ${main_classname}_SUPERCLASSES_LENGTH (1 + ${main_superclassname}_SUPERCLASSES_LENGT…
588 echo "#define ${main_classname}_SUPERCLASSES_LENGTH (1 + 1)"
591 …cho "extern${dllexport_for_variables} const struct ${main_classname}_implementation ${main_classna…
616 rootclassname="$main_classname"
619 echo "#define ${main_classname}_representation any_${rootclassname}_representation"
624 echo "#include \"${main_classname}.priv.h\""
626 echo "const typeinfo_t ${main_classname}_typeinfo = { \"${main_classname}\" };"
628 echo "static const typeinfo_t * const ${main_classname}_superclasses[] ="
629 echo " { ${main_classname}_SUPERCLASSES };"
636 …_impl_file" | sed -e "1,${impl_end_lineno}d" | sed -e "s,${main_classname}::,${main_classname}__,g"
657 …-e "1,${impl_end_lineno}d" | sed -e "$sed_remove_comments" | grep "${main_classname}::${name} *(" …
669 echo "$rettype ${main_classname}__${name} ($arglist);"
671 echo "${main_classname}__${name} ($arglist)"
680 echo " ${return}${main_classname}__${name} ($args);"
688 echo "const struct ${main_classname}_implementation ${main_classname}_vtable ="
690 echo " ${main_classname}_superclasses,"
691 echo " sizeof (${main_classname}_superclasses) / sizeof (${main_classname}_superclasses[0]),"
692 echo " sizeof (struct ${main_classname}_representation),"
696 echo " ${main_classname}__${name},"
720 echo "${main_classname}_${name} ($arglist)"
722 echo " const struct ${main_classname}_implementation *vtable ="
723 …echo " ((struct ${main_classname}_representation_header *) (struct ${main_repclassalias} *) fir…
752 new_priv_header_file="${destdir}${main_classname}.priv.h"
757 new_vt_header_file="${destdir}${main_classname}.vt.h"