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

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

Include file cleanup.

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