src/szmul.c

changeset 971
cc204fc56c9c
parent 841
93851c0babe4
equal deleted inserted replaced
970:c9b02747cfc5 971:cc204fc56c9c
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "cx/common.h"
30
31 #ifndef CX_SZMUL_BUILTIN
29 int cx_szmul_impl( 32 int cx_szmul_impl(
30 size_t a, 33 size_t a,
31 size_t b, 34 size_t b,
32 size_t *result 35 size_t *result
33 ) { 36 ) {
42 } else { 45 } else {
43 *result = 0; 46 *result = 0;
44 return 1; 47 return 1;
45 } 48 }
46 } 49 }
50 #endif // CX_SZMUL_BUILTIN

mercurial