summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_pecoff_impl.c
blob: 590fafc7c28860476c27afc0156644cebc0beb7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*******************************************************************/
/*  slibtool: a strong libtool implementation, written in C        */
/*  Copyright (C) 2016--2024  SysDeer Technologies, LLC            */
/*  Released under the Standard MIT License; see COPYING.SLIBTOOL. */
/*******************************************************************/

#include <string.h>

#include "slibtool_visibility_impl.h"

slbt_hidden int slbt_is_strong_coff_symbol(const char * sym)
{
	return strncmp(sym,"__imp_",6)
		&& strncmp(sym,".weak.",6)
		&& strncmp(sym,".refptr.",8);
}