summaryrefslogtreecommitdiff
path: root/gi/ns.h
blob: b07674776b2f8f1bca5d30342772eb2ca9a2dcb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
// SPDX-FileCopyrightText: 2008 litl, LLC

#ifndef GI_NS_H_
#define GI_NS_H_

#include "gjs/macros.h"

class JSObject;
struct JSContext;

GJS_JSAPI_RETURN_CONVENTION
JSObject* gjs_create_ns(JSContext    *context,
                        const char   *ns_name);

#endif  // GI_NS_H_