aboutsummaryrefslogtreecommitdiff
path: root/redist
diff options
context:
space:
mode:
Diffstat (limited to 'redist')
-rw-r--r--redist/linmath.h3
-rw-r--r--redist/symbol_enumerator.c12
2 files changed, 5 insertions, 10 deletions
diff --git a/redist/linmath.h b/redist/linmath.h
index 094c230..e268e96 100644
--- a/redist/linmath.h
+++ b/redist/linmath.h
@@ -7,7 +7,6 @@
extern "C" {
#endif
-
#ifdef _WIN32
#define LINMATH_EXPORT __declspec(dllexport)
#else
@@ -116,7 +115,7 @@ LINMATH_EXPORT void quatgetreciprocal(LinmathQuat qout, const LinmathQuat qin);
LINMATH_EXPORT void quatsub(LinmathQuat qout, const LinmathQuat a, const LinmathQuat b);
LINMATH_EXPORT void quatadd(LinmathQuat qout, const LinmathQuat a, const LinmathQuat b);
LINMATH_EXPORT void quatrotateabout(LinmathQuat qout, const LinmathQuat a,
- const LinmathQuat b); // same as quat multiply, not piecewise multiply.
+ const LinmathQuat b); // same as quat multiply, not piecewise multiply.
LINMATH_EXPORT void quatscale(LinmathQuat qout, const LinmathQuat qin, FLT s);
FLT quatinnerproduct(const LinmathQuat qa, const LinmathQuat qb);
LINMATH_EXPORT void quatouterproduct(FLT *outvec3, LinmathQuat qa, LinmathQuat qb);
diff --git a/redist/symbol_enumerator.c b/redist/symbol_enumerator.c
index 58bbfaa..31bb68e 100644
--- a/redist/symbol_enumerator.c
+++ b/redist/symbol_enumerator.c
@@ -60,18 +60,14 @@ BOOL WINAPI SymCleanup(
HANDLE hProcess
);
-BOOL mycb(
- PSYMBOL_INFO pSymInfo,
- ULONG SymbolSize,
- PVOID UserContext
- ){
- SymEnumeratorCallback cb = (SymEnumeratorCallback)UserContext;
- return !cb( "", &pSymInfo->Name[0], (void*)pSymInfo->Address, (long) pSymInfo->Size );
+BOOL mycb(PSYMBOL_INFO pSymInfo, ULONG SymbolSize, PVOID UserContext) {
+ SymEnumeratorCallback cb = (SymEnumeratorCallback)UserContext;
+ return !cb("", &pSymInfo->Name[0], (void *)pSymInfo->Address, (long)pSymInfo->Size);
}
int EnumerateSymbols( SymEnumeratorCallback cb )
{
- HANDLE proc = GetCurrentProcess();
+ HANDLE proc = GetCurrentProcess();
if( !SymInitialize( proc, 0, 1 ) ) return -1;
if( !SymEnumSymbols( proc, 0, "*!*", &mycb, (void*)cb ) )
{