Document of c-modernization-kit (override-sample) 1.0.0
Loading...
Searching...
No Matches
dllmain_libbase.c File Reference

base.so / base.dll のロード・アンロード時処理。 More...

#include "funcman_libbase.h"
#include <dllmain.h>
#include <stdio.h>
Include dependency graph for dllmain_libbase.c:

Go to the source code of this file.

Functions

void onLoad (void)
void onUnload (void)

Detailed Description

base.so / base.dll のロード・アンロード時処理。

Author
c-modenization-kit sample team
Date
2026/02/21
Version
1.0.0

base.so / base.dll のロード時およびアンロード時に処理を行います。

プラットフォームごとのフック (Linux constructor/destructor, Windows DllMain) は dllmain.h が提供します。このファイルは onLoad / onUnload を定義します。

Definition in file dllmain_libbase.c.

Function Documentation

◆ onLoad()

void onLoad ( void )

Definition at line 24 of file dllmain_libbase.c.

References fobj_array_libbase, fobj_length_libbase, funcman_configpath, and onLoad().

Referenced by onLoad().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onUnload()

void onUnload ( void )

Definition at line 57 of file dllmain_libbase.c.

References fobj_array_libbase, and fobj_length_libbase.