__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
dnl $Id$
dnl
dnl M4 macros for constructor generation.
dnl
dnl Code to sink a GInitiallyUnowned:
dnl
m4_define(`_INITIALLY_UNOWNED_SINK',`dnl
ifdef(`__BOOL_DERIVES_INITIALLY_UNOWNED__',`dnl
if(gobject_ && g_object_is_floating (gobject_))
g_object_ref_sink(gobject_); //Stops it from being floating.
',`')')
dnl Declares and implements the default constructor
dnl
m4_define(`_CTOR_DEFAULT',`dnl
__CPPNAME__`'();
_PUSH(SECTION_CC)
__CPPNAME__::__CPPNAME__`'()
:
// Mark this class as non-derived to allow C++ vfuncs to be skipped.
Glib::ObjectBase(nullptr),
__CPPPARENT__`'(Glib::ConstructParams(__BASE__`'_class_.init()))
{
_IMPORT(SECTION_CC_INITIALIZE_CLASS_EXTRA)
_INITIALLY_UNOWNED_SINK
}
_POP()')
dnl Constructors with property initializations.
dnl
dnl _CTOR_IMPL(cppname, cname, cppargs, c_varargs)
dnl $1 $2 $3 $4
dnl
m4_define(`_CTOR_IMPL',`dnl
_PUSH(SECTION_CC)
__CPPNAME__::$1`'($3)
:
// Mark this class as non-derived to allow C++ vfuncs to be skipped.
Glib::ObjectBase(nullptr),
__CPPPARENT__`'(Glib::ConstructParams(__BASE__`'_class_.init()m4_ifelse(`$4',,,`, $4, nullptr')))
{
_IMPORT(SECTION_CC_INITIALIZE_CLASS_EXTRA)
_INITIALLY_UNOWNED_SINK
}
_POP()')
m4_define(`_CONSTRUCT',
`// Mark this class as non-derived to allow C++ vfuncs to be skipped.
Glib::ObjectBase(nullptr),
__CPPPARENT__`'(Glib::ConstructParams(__BASE__`'_class_.init()m4_ifelse(`$1',,,`, $@, nullptr')))')
dnl _CONSTRUCT() does not deal with multiple class definitions in one file.
dnl If necessary, _CONSTRUCT_SPECIFIC(BaseClass, Class) must be used instead.
dnl
m4_define(`_CONSTRUCT_SPECIFIC',
`// Mark this class as non-derived to allow C++ vfuncs to be skipped.
Glib::ObjectBase(nullptr),
$1`'(Glib::ConstructParams(_LOWER(`$2')_class_.init()m4_ifelse(`$3',,,`, m4_shift(m4_shift($@)), nullptr')))')
dnl Extra code for initialize_class.
dnl Not commonly used.
dnl
m4_define(`_INITIALIZE_CLASS_EXTRA',`dnl
_PUSH(SECTION_CC_INITIALIZE_CLASS_EXTRA)
$1
_POP()')
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| base.m4 | File | 12.93 KB | 0644 |
|
| class_boxedtype.m4 | File | 5.55 KB | 0644 |
|
| class_boxedtype_static.m4 | File | 4.45 KB | 0644 |
|
| class_generic.m4 | File | 792 B | 0644 |
|
| class_gobject.m4 | File | 7.76 KB | 0644 |
|
| class_interface.m4 | File | 7.57 KB | 0644 |
|
| class_opaque_copyable.m4 | File | 5.09 KB | 0644 |
|
| class_opaque_refcounted.m4 | File | 6.44 KB | 0644 |
|
| class_shared.m4 | File | 11.24 KB | 0644 |
|
| compare.m4 | File | 2.99 KB | 0644 |
|
| convert.m4 | File | 175 B | 0644 |
|
| convert_base.m4 | File | 3.05 KB | 0644 |
|
| convert_gio.m4 | File | 15.98 KB | 0644 |
|
| convert_glib.m4 | File | 7 KB | 0644 |
|
| convert_glibmm.m4 | File | 85 B | 0644 |
|
| ctor.m4 | File | 1.97 KB | 0644 |
|
| doc.m4 | File | 21 B | 0644 |
|
| enum.m4 | File | 3.92 KB | 0644 |
|
| gerror.m4 | File | 2.45 KB | 0644 |
|
| initialize.m4 | File | 175 B | 0644 |
|
| initialize_base.m4 | File | 1.83 KB | 0644 |
|
| initialize_gio.m4 | File | 165 B | 0644 |
|
| initialize_glib.m4 | File | 480 B | 0644 |
|
| initialize_glibmm.m4 | File | 94 B | 0644 |
|
| member.m4 | File | 4.39 KB | 0644 |
|
| method.m4 | File | 6.98 KB | 0644 |
|
| property.m4 | File | 1.07 KB | 0644 |
|
| signal.m4 | File | 9.6 KB | 0644 |
|
| vfunc.m4 | File | 6.87 KB | 0644 |
|