1 /* -*- Mode: C; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // -------------------------------------------------------------------------*/
10 #include "sjme/dylib.h"
11 #include "sjme/debug.h"
13 sjme_errorCode
sjme_dylib_close(
14 sjme_attrInNotNull sjme_dylib inLib
)
16 #if defined(SJME_CONFIG_HAS_NO_DYLIB_SUPPORT)
17 return SJME_ERROR_UNSUPPORTED_OPERATION
;
20 return SJME_ERROR_NOT_IMPLEMENTED
;
24 sjme_errorCode
sjme_dylib_lookup(
25 sjme_attrInNotNull sjme_dylib inLib
,
26 sjme_attrInNotNull sjme_lpcstr inSymbol
,
29 #if defined(SJME_CONFIG_HAS_NO_DYLIB_SUPPORT)
30 return SJME_ERROR_UNSUPPORTED_OPERATION
;
33 return SJME_ERROR_NOT_IMPLEMENTED
;
37 sjme_errorCode
sjme_dylib_open(
38 sjme_attrInNotNull sjme_lpcstr libPath
,
39 sjme_attrInOutNotNull sjme_dylib
* outLib
)
41 #if defined(SJME_CONFIG_HAS_NO_DYLIB_SUPPORT)
42 return SJME_ERROR_UNSUPPORTED_OPERATION
;
45 return SJME_ERROR_NOT_IMPLEMENTED
;