MCPcopy Create free account
hub / github.com/acl-dev/acl / global

Method global

app/net_tools/global/global.cpp:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "global.h"
3
4global::global()
5{
6 const char* filepath = acl_process_path();
7 ACL_VSTRING* path = acl_vstring_alloc(256);
8 acl_sane_dirname(path, filepath);
9 path_ = acl_vstring_str(path);
10 acl_vstring_free(path);
11}
12
13global::~global()
14{

Callers

nothing calls this directly

Calls 3

acl_process_pathFunction · 0.85
acl_vstring_allocFunction · 0.85
acl_vstring_freeFunction · 0.85

Tested by

no test coverage detected