source: buchla-68k/include/stdarg.h

Last change on this file was 5fa506d, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Include file cleanup.

  • Property mode set to 100644
File size: 464 bytes
RevLine 
[bfc0072]1/*
2 =============================================================================
3 stdarg.h -- variable argument list macros
4 Version 1 -- 2017-07-07 -- Thomas Lopatic
5 =============================================================================
6*/
7
[f7428b1]8#pragma once
[5fa506d]9
[f7428b1]10#include "stdint.h"
11
[7258c6a]12typedef int8_t *va_list;
[bfc0072]13
[5fa506d]14#define va_start(ap, last) (ap = (int8_t *)&last + sizeof last)
15#define va_arg(ap, type) (ap += sizeof (type), ((type *)ap)[-1])
[bfc0072]16#define va_end(ap)
Note: See TracBrowser for help on using the repository browser.