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

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

Started to rework include files.

  • Property mode set to 100644
File size: 451 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#include "stdint.h"
10
11typedef int8_t *va_list;
12
13#define va_start(ap, last) ap = (int8_t *)&last + sizeof(last)
14#define va_arg(ap, type) (ap += sizeof(type), ap[-1])
15#define va_end(ap)
Note: See TracBrowser for help on using the repository browser.